From 2e675468520b387dfe834fb63e0780c8fd492143 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 6 Jun 2016 22:44:41 +0200 Subject: GUI: Do not change aspect ratio setting when it is disabled --- gui/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/options.cpp') diff --git a/gui/options.cpp b/gui/options.cpp index ec4cd7b423..e410971818 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -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 -- cgit v1.2.3