mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
Taskbar: Use default buttons in ShutdownDialog
This commit is contained in:
parent
72be27e16c
commit
c317275425
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ ShutdownDialog::ShutdownDialog()
|
|||
ok_button.on_click = [this](auto) {
|
||||
done(ExecResult::OK);
|
||||
};
|
||||
ok_button.set_default(true);
|
||||
auto& cancel_button = button_container.add<GUI::Button>("Cancel");
|
||||
cancel_button.set_fixed_size(80, 23);
|
||||
cancel_button.on_click = [this](auto) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue