diff options
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index c1eda00a..e9964f2e 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -79,6 +79,7 @@ LoginDialog::LoginDialog(LoginData *loginData): mUserField->setActionEventId("ok"); mPassField->setActionEventId("ok"); mServerField->setActionEventId("ok"); + mPortField->setActionEventId("ok"); mServerDropDown->setActionEventId("changeSelection"); mUserField->addKeyListener(this); @@ -289,7 +290,7 @@ std::string LoginDialog::DropDownList::getElementAt(int i) { if (i < 0 || i >= getNumberOfElements()) { - return ""; + return ""; } return getServerAt(i) + ":" + getPortAt(i); } |