GUI: Do not change aspect ratio setting when it is disabled

This commit is contained in:
Eugene Sandulenko 2016-06-06 22:44:41 +02:00
parent c3dead63d1
commit 2e67546852

View File

@ -213,7 +213,7 @@ void OptionsDialog::open() {
#ifdef GUI_ONLY_FULLSCREEN
_fullscreenCheckbox->setState(true);
_fullscreenCheckbox->setEnabled(false);
_aspectCheckbox->setState(false);
_aspectCheckbox->setState(ConfMan.getBool("aspect_ratio", _domain));
_aspectCheckbox->setEnabled(false);
#else // !GUI_ONLY_FULLSCREEN
// Fullscreen setting