summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-09-01 13:40:44 +0200
committerTannin <devnull@localhost>2013-09-01 13:40:44 +0200
commit1e6c5f7c25ddd2094e26e6af1159ec5912448705 (patch)
tree83ff6e2fd35c1614f2e13ff22f0f7b8214ab042b /src/modlist.cpp
parent49e1dd23b699b499d9b715ef74cb7ca5b0189584 (diff)
- 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
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp2
1 files changed, 1 insertions, 1 deletions
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<QContextMenuEvent*>(event);
QWidget *object = qobject_cast<QWidget*>(obj);
- if (object != NULL) {
+ if ((object != NULL) && (contextEvent->reason() == QContextMenuEvent::Mouse)) {
emit requestColumnSelect(object->mapToGlobal(contextEvent->pos()));
return true;