mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
Spider: Use YesNo dialog for user confirmation when closing
Cancel was superflous, and provided no difference to No.
This commit is contained in:
parent
c3c1a9ca1d
commit
705e91d332
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ int main(int argc, char** argv)
|
|||
"A game is still in progress, are you sure you would like to quit? Doing so will count as a loss.",
|
||||
"Game in progress",
|
||||
GUI::MessageBox::Type::Warning,
|
||||
GUI::MessageBox::InputType::YesNoCancel);
|
||||
GUI::MessageBox::InputType::YesNo);
|
||||
|
||||
if (result == GUI::MessageBox::ExecYes)
|
||||
return GUI::Window::CloseRequestDecision::Close;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue