diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-01 18:58:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 20:38:47 +0300 |
commit | a1d592f55539ad5031d92feb4da049825e986783 (patch) | |
tree | d6e32c6e207de1a5af3e119ed457313b01dbb5df | |
parent | 8b1922e8e7a227090cf01b05e65209076dec9df5 (diff) | |
download | mv-a1d592f55539ad5031d92feb4da049825e986783.tar.gz mv-a1d592f55539ad5031d92feb4da049825e986783.tar.bz2 mv-a1d592f55539ad5031d92feb4da049825e986783.tar.xz mv-a1d592f55539ad5031d92feb4da049825e986783.zip |
Fix stuck if press ESC in update window.
-rw-r--r-- | src/gui/updaterwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp index cacb95972..e6ad1818e 100644 --- a/src/gui/updaterwindow.cpp +++ b/src/gui/updaterwindow.cpp @@ -263,7 +263,7 @@ void UpdaterWindow::keyPressed(gcn::KeyEvent &keyEvent) if (key.getValue() == Key::ESCAPE) { action(gcn::ActionEvent(nullptr, mCancelButton->getActionEventId())); - Client::setState(STATE_WORLD_SELECT); + Client::setState(STATE_LOGIN); } else if (key.getValue() == Key::ENTER) { |