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:
Johannes Schickel 2010-07-26 18:41:19 +00:00
parent 4940819df6
commit 9be3c69438

View file

@ -409,6 +409,7 @@ void OptionsDialog::close() {
} }
// MT-32 options // MT-32 options
if (_mt32DevicePopUp) {
if (_enableMT32Settings) { if (_enableMT32Settings) {
saveMusicDeviceSetting(_mt32DevicePopUp, "mt32_device"); saveMusicDeviceSetting(_mt32DevicePopUp, "mt32_device");
ConfMan.setBool("native_mt32", _mt32Checkbox->getState(), _domain); ConfMan.setBool("native_mt32", _mt32Checkbox->getState(), _domain);
@ -418,6 +419,7 @@ void OptionsDialog::close() {
ConfMan.removeKey("native_mt32", _domain); ConfMan.removeKey("native_mt32", _domain);
ConfMan.removeKey("enable_gs", _domain); ConfMan.removeKey("enable_gs", _domain);
} }
}
// Subtitle options // Subtitle options
if (_subToggleGroup) { if (_subToggleGroup) {