summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index f9f63fef3..f43921328 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -69,7 +69,8 @@ LoginDialog::LoginDialog(LoginData &data,
KeyListener(),
mLoginData(&data),
mServer(server),
- mUserField(new TextField(this, mLoginData->username)),
+ mUserField(new TextField(this, mLoginData->username,
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
mPassField(new PasswordField(this, mLoginData->password)),
// TRANSLATORS: login dialog label
mKeepCheck(new CheckBox(this, _("Remember username"),
@@ -89,7 +90,8 @@ LoginDialog::LoginDialog(LoginData &data,
(mLoginData->updateType & UpdateType::Custom) != 0,
this, "customhost")),
mUpdateHostText(new TextField(this, serverConfig.getValue(
- "customUpdateHost", ""))),
+ "customUpdateHost", ""),
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
mUpdateListModel(nullptr),
mUpdateHostDropDown(nullptr),
mUpdateHost(updateHost),