From f019a9e52d0a3f5ca23681d5eb36bb2e56d37064 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Dec 2014 22:20:27 +0300 Subject: Allow control popup menu by up/down keys. --- src/actions/actions.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/actions/actions.cpp') 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; } -- cgit v1.2.3-70-g09d2