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/modlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modlist.cpp') diff --git a/src/modlist.cpp b/src/modlist.cpp index a08162e7..dc464497 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -747,7 +747,7 @@ bool ModList::eventFilter(QObject *obj, QEvent *event) if (event->type() == QEvent::ContextMenu) { QContextMenuEvent *contextEvent = static_cast(event); QWidget *object = qobject_cast(obj); - if (object != NULL) { + if ((object != NULL) && (contextEvent->reason() == QContextMenuEvent::Mouse)) { emit requestColumnSelect(object->mapToGlobal(contextEvent->pos())); return true; -- cgit v1.3.1