From 9f74ca8f68db611fe1bfcab6b47892a387bc4ae4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Jun 2013 23:38:23 +0300 Subject: Ignore key event in editserverdialog class if event was already consumed. --- src/gui/editserverdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp index 1361951c8..3882defe5 100644 --- a/src/gui/editserverdialog.cpp +++ b/src/gui/editserverdialog.cpp @@ -284,6 +284,9 @@ void EditServerDialog::action(const gcn::ActionEvent &event) void EditServerDialog::keyPressed(gcn::KeyEvent &keyEvent) { + if (keyEvent.isConsumed()) + return; + const int actionId = static_cast( &keyEvent)->getActionId(); -- cgit v1.2.3-70-g09d2