From a1d592f55539ad5031d92feb4da049825e986783 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Apr 2012 18:58:10 +0300 Subject: Fix stuck if press ESC in update window. --- src/gui/updaterwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2