From d53c9fb3add8296c0669de338d8c527bbbc1176a Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 3 Jan 2024 02:00:36 +0100 Subject: [PATCH] PasswordDialog: set focus to password field --- src/dialog/PasswordDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialog/PasswordDialog.cpp b/src/dialog/PasswordDialog.cpp index 45059ba..ad2e5a3 100644 --- a/src/dialog/PasswordDialog.cpp +++ b/src/dialog/PasswordDialog.cpp @@ -21,6 +21,8 @@ PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword password = ui->line_password->text(); }); + ui->line_password->setFocus(); + this->adjustSize(); }