From 7b155f111daf5d7ae477b16d0f0789b1113bea74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jun 2012 00:04:33 +0300 Subject: Fix some issues after auto checking. --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 8d05fc26d..feabd79d5 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -323,10 +323,10 @@ bool Gui::handleKeyInput2() continue; } - bool keyEventConsumed = false; - if (mFocusHandler) { + bool keyEventConsumed = false; + // Send key inputs to the focused widgets if (mFocusHandler->getFocused()) { -- cgit v1.2.3-70-g09d2