From 1e6c5f7c25ddd2094e26e6af1159ec5912448705 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 1 Sep 2013 13:40:44 +0200 Subject: - added a new column for not-yet-endorsed mods - set categories menu no longer closes when the mouse cursor leaves the menu - MO will no longer change the endorsement flag if an update doesn't contain it - the column selection for the mod list can now only be accessed by mouse, hotkeys open the context menu of the mod - now displaying a progress dialog during login. For unknown reasons MO hangs during that time --- src/modlistsortproxy.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modlistsortproxy.cpp') diff --git a/src/modlistsortproxy.cpp b/src/modlistsortproxy.cpp index 37509b12..53c03c6a 100644 --- a/src/modlistsortproxy.cpp +++ b/src/modlistsortproxy.cpp @@ -219,6 +219,10 @@ bool ModListSortProxy::filterMatches(ModInfo::Ptr info, bool enabled) const case CategoryFactory::CATEGORY_SPECIAL_CONFLICT: { if (!hasConflictFlag(info->getFlags())) return false; } break; + case CategoryFactory::CATEGORY_SPECIAL_NOTENDORSED: { + ModInfo::EEndorsedState state = info->endorsedState(); + return (state == ModInfo::ENDORSED_FALSE) || (state == ModInfo::ENDORSED_NEVER); + } break; default: { if (!info->categorySet(*iter)) return false; } break; -- cgit v1.3.1