mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Escalator: Set focus to password input automatically
This commit is contained in:
parent
a2f101c10b
commit
0d6573be14
Notes:
sideshowbarker
2024-07-17 09:49:33 +09:00
Author: https://github.com/hughdavenport
Commit: 0d6573be14
Pull-request: https://github.com/SerenityOS/serenity/pull/23437
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ EscalatorWindow::EscalatorWindow(StringView executable, Vector<StringView> argum
|
|||
};
|
||||
|
||||
m_password_input = *main_widget->find_descendant_of_type_named<GUI::PasswordBox>("password");
|
||||
m_password_input->set_focus(true);
|
||||
}
|
||||
|
||||
ErrorOr<void> EscalatorWindow::check_password()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue