mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +00:00
PixelPaint: Use default buttons in EditGuideDialog
This commit is contained in:
parent
9f1f1b8472
commit
72be27e16c
Notes:
sideshowbarker
2024-07-17 10:30:06 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/72be27e16c Pull-request: https://github.com/SerenityOS/serenity/pull/14172 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue