aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/options.cpp')
-rw-r--r--gui/options.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 1f3f703218..5991a204e9 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -509,6 +509,9 @@ void OptionsDialog::setAudioSettingsState(bool enabled) {
}
void OptionsDialog::setMIDISettingsState(bool enabled) {
+ if (_guioptions & Common::GUIO_NOMIDI)
+ enabled = false;
+
_enableMIDISettings = enabled;
_soundFontButton->setEnabled(enabled);