mirror of
https://github.com/RGBCube/serenity
synced 2025-08-05 20:47:35 +00:00
LibGUI+LoginServer: Use default buttons in InputBox and LoginWindow
This commit is contained in:
parent
f77ac3a73c
commit
7beea36052
2 changed files with 2 additions and 6 deletions
|
@ -35,7 +35,5 @@ LoginWindow::LoginWindow(GUI::Window* parent)
|
|||
if (on_submit)
|
||||
on_submit();
|
||||
};
|
||||
|
||||
m_username->on_return_pressed = [&]() { m_log_in_button->click(); };
|
||||
m_password->on_return_pressed = [&]() { m_log_in_button->click(); };
|
||||
m_log_in_button->set_default(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue