From 72be27e16c61f9c83b0f6bc3083d3bfa47f77251 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Fri, 27 May 2022 19:36:48 +0200 Subject: [PATCH] PixelPaint: Use default buttons in EditGuideDialog --- Userland/Applications/PixelPaint/EditGuideDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/PixelPaint/EditGuideDialog.cpp b/Userland/Applications/PixelPaint/EditGuideDialog.cpp index a0ea15ded9c..aeb8716eaab 100644 --- a/Userland/Applications/PixelPaint/EditGuideDialog.cpp +++ b/Userland/Applications/PixelPaint/EditGuideDialog.cpp @@ -70,6 +70,7 @@ EditGuideDialog::EditGuideDialog(GUI::Window* parent_window, String const& offse done(ExecResult::OK); }; + ok_button->set_default(true); cancel_button->on_click = [this](auto) { done(ExecResult::Cancel);