mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Escalator: Set focus to password input automatically
This commit is contained in:
parent
a2f101c10b
commit
0d6573be14
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 = *main_widget->find_descendant_of_type_named<GUI::PasswordBox>("password");
|
||||||
|
m_password_input->set_focus(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorOr<void> EscalatorWindow::check_password()
|
ErrorOr<void> EscalatorWindow::check_password()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue