mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 03:31:40 +00:00
GUI: fix broken GMM sound settings (regression from 44245eeb)
I would get an assert(!domName.empty()) whenever I use the ingame GMM sound settings, since that commit tries to remove keys even from the default/empty domain
This commit is contained in:
parent
d9d8106fb6
commit
61c4cbe1f4
@ -928,7 +928,7 @@ void OptionsDialog::apply() {
|
||||
|
||||
ConfMan.setBool("subtitles", subtitles, _domain);
|
||||
ConfMan.setBool("speech_mute", speech_mute, _domain);
|
||||
} else {
|
||||
} else if (!_domain.empty()) {
|
||||
ConfMan.removeKey("subtitles", _domain);
|
||||
ConfMan.removeKey("speech_mute", _domain);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user