summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-08 22:20:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-08 22:20:27 +0300
commitf019a9e52d0a3f5ca23681d5eb36bb2e56d37064 (patch)
tree33c4f14a56d1327b361dcc681712cfc105a7701e /src/actions/actions.cpp
parent13b08d35c2d96ae734da14ab58d6263287e342c9 (diff)
downloadManaVerse-f019a9e52d0a3f5ca23681d5eb36bb2e56d37064.tar.gz
ManaVerse-f019a9e52d0a3f5ca23681d5eb36bb2e56d37064.tar.bz2
ManaVerse-f019a9e52d0a3f5ca23681d5eb36bb2e56d37064.tar.xz
ManaVerse-f019a9e52d0a3f5ca23681d5eb36bb2e56d37064.zip
Allow control popup menu by up/down keys.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 924fac801..64d05f8ab 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -246,6 +246,10 @@ impHandler0(ok)
dialog->action(ActionEvent(nullptr, "ok"));
return true;
}
+ else if (popupMenu->isPopupVisible())
+ {
+ popupMenu->select();
+ }
return false;
}