From 02ef2268fef2e6ca98370423dc20216f43786ee8 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 19 Oct 2015 15:31:34 -0300 Subject: [PATCH] Remove unnecessary filtering of key events in PopupWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In this way Tab key (and other focus movement keys) can be used in PopupWindows. They aren’t propagated to the main window because a correct filter was added in 883629b563ff36e4fb8bd1562f2cebf037bbc98a --- src/ui/popup_window.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp index baa90c601..d70d17323 100644 --- a/src/ui/popup_window.cpp +++ b/src/ui/popup_window.cpp @@ -97,11 +97,6 @@ bool PopupWindow::onProcessMessage(Message* msg) closeWindow(NULL); } - // If we are filtering messages we don't propagate key-events - // to other widgets. As we're a popup window and we're - // filtering messages, the user shouldn't be able to start - // other actions pressing keyboard shortcuts. - return false; } break;