summaryrefslogtreecommitdiff
path: root/Userland/Games
diff options
context:
space:
mode:
authorJamie Mansfield <jmansfield@cadixdev.org>2021-08-05 20:54:45 +0100
committerAndreas Kling <kling@serenityos.org>2021-08-06 01:12:32 +0200
commit705e91d332da998e8d02821c26a7f861350eaa1f (patch)
tree0c6f624af1686ac53507e08307bd735b3f63f63c /Userland/Games
parentc3c1a9ca1d13340b7570a5cc0b76f274a9b54a4f (diff)
downloadserenity-705e91d332da998e8d02821c26a7f861350eaa1f.zip
Spider: Use YesNo dialog for user confirmation when closing
Cancel was superflous, and provided no difference to No.
Diffstat (limited to 'Userland/Games')
-rw-r--r--Userland/Games/Spider/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Spider/main.cpp b/Userland/Games/Spider/main.cpp
index 4afffe6ef8..262474811d 100644
--- a/Userland/Games/Spider/main.cpp
+++ b/Userland/Games/Spider/main.cpp
@@ -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;