aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-08 17:08:24 +0000
committerJohannes Schickel2009-01-08 17:08:24 +0000
commit23f23d7491af556c5b04d01bf18972f0dfaa91d3 (patch)
tree216e0c7d9bbcf37bd45ae79cfbf6062676b6bb47
parentc7e29bb7889d06e9e9b40714da1071e5f0c16543 (diff)
downloadscummvm-rg350-23f23d7491af556c5b04d01bf18972f0dfaa91d3.tar.gz
scummvm-rg350-23f23d7491af556c5b04d01bf18972f0dfaa91d3.tar.bz2
scummvm-rg350-23f23d7491af556c5b04d01bf18972f0dfaa91d3.zip
Fixed revertion to "Add game" button string after a "Mass add" was processed.
svn-id: r35788
-rw-r--r--gui/launcher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index f28671dff7..3753f67aeb 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -646,6 +646,10 @@ void LauncherDialog::addGame() {
updateListing();
draw();
}
+
+ // We need to update the buttons here, so "Mass add" will revert to "Add game"
+ // without any additional event.
+ updateButtons();
return;
}