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
commit 0d6573be14
Notes: sideshowbarker 2024-07-17 09:49:33 +09:00

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