aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index c5331bfc42..77d564fdb4 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -437,6 +437,11 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data
_subSpeedLabel->setValue(_subSpeedSlider->getValue());
_subSpeedLabel->draw();
break;
+ case kClearSoundFontCmd:
+ _soundFont->setLabel("None");
+ _soundFontClearButton->setEnabled(false);
+ draw();
+ break;
case kOKCmd:
setResult(1);
close();
@@ -922,12 +927,6 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
}
break;
}
- case kClearSoundFontCmd: {
- _soundFont->setLabel("None");
- _soundFontClearButton->setEnabled(false);
- draw();
- break;
- }
case kChooseThemeCmd: {
ThemeBrowser browser;
if (browser.runModal() > 0) {