1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

Escalator: Set focus to password input automatically

This commit is contained in:
Hugh Davenport 2024-03-03 10:02:43 +13:00 committed by Tim Flynn
parent a2f101c10b
commit 0d6573be14

View file

@ -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()