GUI: Fix regression from r51265.
This makes the GMM's option dialog work again. The fix itself is exactly the same like I made in r50468, which also broke the GMM's option dialog. svn-id: r51330
This commit is contained in:
parent
4940819df6
commit
9be3c69438
1 changed files with 10 additions and 8 deletions
|
@ -409,14 +409,16 @@ void OptionsDialog::close() {
|
|||
}
|
||||
|
||||
// MT-32 options
|
||||
if (_enableMT32Settings) {
|
||||
saveMusicDeviceSetting(_mt32DevicePopUp, "mt32_device");
|
||||
ConfMan.setBool("native_mt32", _mt32Checkbox->getState(), _domain);
|
||||
ConfMan.setBool("enable_gs", _enableGSCheckbox->getState(), _domain);
|
||||
} else {
|
||||
ConfMan.removeKey("mt32_device", _domain);
|
||||
ConfMan.removeKey("native_mt32", _domain);
|
||||
ConfMan.removeKey("enable_gs", _domain);
|
||||
if (_mt32DevicePopUp) {
|
||||
if (_enableMT32Settings) {
|
||||
saveMusicDeviceSetting(_mt32DevicePopUp, "mt32_device");
|
||||
ConfMan.setBool("native_mt32", _mt32Checkbox->getState(), _domain);
|
||||
ConfMan.setBool("enable_gs", _enableGSCheckbox->getState(), _domain);
|
||||
} else {
|
||||
ConfMan.removeKey("mt32_device", _domain);
|
||||
ConfMan.removeKey("native_mt32", _domain);
|
||||
ConfMan.removeKey("enable_gs", _domain);
|
||||
}
|
||||
}
|
||||
|
||||
// Subtitle options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue