summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/editserverdialog.cpp3
1 files changed, 3 insertions, 0 deletions
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*>(
&keyEvent)->getActionId();