diff options
author | Jonathan Bauer | 2020-02-06 14:16:18 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-02-06 14:16:18 +0100 |
commit | 5b0873a2e6af90565e5a4df4f12ddd1a7b10face (patch) | |
tree | e6750adcbe14d173fb40518f8c07c2650afc67d2 | |
parent | Make password placeholder configurable (diff) | |
download | slxgreeter-5b0873a2e6af90565e5a4df4f12ddd1a7b10face.tar.gz slxgreeter-5b0873a2e6af90565e5a4df4f12ddd1a7b10face.tar.xz slxgreeter-5b0873a2e6af90565e5a4df4f12ddd1a7b10face.zip |
loginform.cpp: set focus on username field on resetv26
-rw-r--r-- | src/loginform.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp index b6dcd4a..a17401d 100644 --- a/src/loginform.cpp +++ b/src/loginform.cpp @@ -338,8 +338,9 @@ void LoginForm::resetForm() { if (Settings::guestSessionEnabled()) ui->loginChooser->setCurrentWidget(ui->welcomePage); - ui->userInput->clear(); ui->passwordInput->clear(); + ui->userInput->clear(); + ui->userInput->setFocus(); } bool LoginForm::eventFilter(QObject *object, QEvent *event) |