mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +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);
|
done(ExecResult::OK);
|
||||||
};
|
};
|
||||||
|
ok_button->set_default(true);
|
||||||
|
|
||||||
cancel_button->on_click = [this](auto) {
|
cancel_button->on_click = [this](auto) {
|
||||||
done(ExecResult::Cancel);
|
done(ExecResult::Cancel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue