From 7beea3605234689afddb0cd5028f321978e979fe Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Mon, 24 Jan 2022 14:29:21 -0500 Subject: [PATCH] LibGUI+LoginServer: Use default buttons in InputBox and LoginWindow --- Userland/Libraries/LibGUI/InputBox.cpp | 4 +--- Userland/Services/LoginServer/LoginWindow.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Userland/Libraries/LibGUI/InputBox.cpp b/Userland/Libraries/LibGUI/InputBox.cpp index 39427aaa6e..ebec5d88be 100644 --- a/Userland/Libraries/LibGUI/InputBox.cpp +++ b/Userland/Libraries/LibGUI/InputBox.cpp @@ -92,6 +92,7 @@ void InputBox::build(InputType input_type) m_text_value = m_text_editor->text(); done(ExecOK); }; + m_ok_button->set_default(true); m_cancel_button = button_container_inner.add