diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-04 23:38:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-04 23:38:23 +0300 |
commit | 9f74ca8f68db611fe1bfcab6b47892a387bc4ae4 (patch) | |
tree | 65eb0ddfbc3224f8969f3e4aa171d1b1372a08af /src | |
parent | e269c5d3ad4ed849e2f005098abb39a55402d90e (diff) | |
download | manaplus-9f74ca8f68db611fe1bfcab6b47892a387bc4ae4.tar.gz manaplus-9f74ca8f68db611fe1bfcab6b47892a387bc4ae4.tar.bz2 manaplus-9f74ca8f68db611fe1bfcab6b47892a387bc4ae4.tar.xz manaplus-9f74ca8f68db611fe1bfcab6b47892a387bc4ae4.zip |
Ignore key event in editserverdialog class if event was already consumed.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/editserverdialog.cpp | 3 |
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(); |