aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index fde75f08b4..37db88cfa4 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -581,7 +581,7 @@ void LauncherDialog::addGame() {
void LauncherDialog::removeGame(int item) {
MessageDialog alert("Do you really want to remove this game configuration?", "Yes", "No");
- if (alert.runModal() > 0) {
+ if (alert.runModal() == GUI::kMessageOK) {
// Remove the currently selected game from the list
assert(item >= 0);
ConfMan.removeGameDomain(_domains[item]);