mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00
PixelPaint: Use default buttons in EditGuideDialog
This commit is contained in:
parent
9f1f1b8472
commit
72be27e16c
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…
Add table
Add a link
Reference in a new issue