mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +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: 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);
|
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