diff options
author | Eugene Sandulenko | 2008-08-02 23:05:38 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-08-02 23:05:38 +0000 |
commit | da2720d498c160c39435b42d9f1a18d2a0a328e1 (patch) | |
tree | d4034fa694d9f0c4ce6c3cd5335923f530881725 | |
parent | b998a7ef07ca3b94de43502beac3ed1d08a4795d (diff) | |
download | scummvm-rg350-da2720d498c160c39435b42d9f1a18d2a0a328e1.tar.gz scummvm-rg350-da2720d498c160c39435b42d9f1a18d2a0a328e1.tar.bz2 scummvm-rg350-da2720d498c160c39435b42d9f1a18d2a0a328e1.zip |
Fix bug #2035390: "GUI: setting game id to "scummvm" messes up list"
svn-id: r33554
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 34c4ebf474..d3c42c63fb 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -450,7 +450,7 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat // Write back changes made to config object String newDomain(_domainWidget->getEditString()); if (newDomain != _domain) { - if (newDomain.empty() || ConfMan.hasGameDomain(newDomain)) { + if (newDomain.empty() || ConfMan.hasGameDomain(newDomain) || newDomain == "scummvm") { MessageDialog alert("This game ID is already taken. Please choose another one."); alert.runModal(); return; |