diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/logindialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp index 54be72a6e..95b6fc666 100644 --- a/src/gui/logindialog.cpp +++ b/src/gui/logindialog.cpp @@ -315,7 +315,10 @@ void LoginDialog::action(const gcn::ActionEvent &event) void LoginDialog::keyPressed(gcn::KeyEvent &keyEvent) { if (keyEvent.isConsumed()) + { + mLoginButton->setEnabled(canSubmit()); return; + } int actionId = static_cast<KeyEvent*>(&keyEvent)->getActionId(); if (actionId == Input::KEY_GUI_CANCEL) |