summaryrefslogtreecommitdiff
path: root/src/gui/worldselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
commit955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338 (patch)
tree8f5fc1cd758da4bda6a305ebcd95d3ccd719d98e /src/gui/worldselectdialog.cpp
parent274737b8d9b46dfcf6fc696123e869bbf6adaaf6 (diff)
downloadManaVerse-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.gz
ManaVerse-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.bz2
ManaVerse-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.xz
ManaVerse-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.zip
Fix code style.
Diffstat (limited to 'src/gui/worldselectdialog.cpp')
-rw-r--r--src/gui/worldselectdialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp
index f7b505610..ae5345031 100644
--- a/src/gui/worldselectdialog.cpp
+++ b/src/gui/worldselectdialog.cpp
@@ -140,7 +140,12 @@ void WorldSelectDialog::keyPressed(gcn::KeyEvent &keyEvent)
gcn::Key key = keyEvent.getKey();
if (key.getValue() == Key::ESCAPE)
- action(gcn::ActionEvent(nullptr, mChangeLoginButton->getActionEventId()));
+ {
+ action(gcn::ActionEvent(nullptr,
+ mChangeLoginButton->getActionEventId()));
+ }
else if (key.getValue() == Key::ENTER)
+ {
action(gcn::ActionEvent(nullptr, mChooseWorld->getActionEventId()));
+ }
}