diff options
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 48148c13e6..19a8b3062f 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -392,6 +392,12 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat // User made this choice... FilesystemNode file(browser.getResult()); _soundFont->setLabel(file.path()); + + if (!file.path().empty() && (file.path() != "None")) + _soundFontClearButton->setEnabled(true); + else + _soundFontClearButton->setEnabled(false); + draw(); } break; |