Skip to content

Commit

Permalink
GUI: in order to play it safe, re-enable the aspect checkbox if the g…
Browse files Browse the repository at this point in the history
…ui options don't contain GUIO_NOASPECT.

Thanks lordHoto for pointing it
  • Loading branch information
Strangerke committed Oct 24, 2011
1 parent fa1e551 commit 9256652
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gui/options.cpp
Expand Up @@ -205,8 +205,10 @@ void OptionsDialog::open() {
if (_guioptions.contains(GUIO_NOASPECT)) {
_aspectCheckbox->setState(false);
_aspectCheckbox->setEnabled(false);
} else
} else {
_aspectCheckbox->setEnabled(true);
_aspectCheckbox->setState(ConfMan.getBool("aspect_ratio", _domain));
}
#endif // SMALL_SCREEN_DEVICE
_disableDitheringCheckbox->setState(ConfMan.getBool("disable_dithering", _domain));
}
Expand Down

0 comments on commit 9256652

Please sign in to comment.