mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GUI: Fix the initial state of the aspect ratio checkbox
This commit is contained in:
+2
-2
@@ -219,8 +219,8 @@ void OptionsDialog::open() {
|
||||
// Fullscreen setting
|
||||
_fullscreenCheckbox->setState(ConfMan.getBool("fullscreen", _domain));
|
||||
|
||||
// Aspect ratio setting
|
||||
if (_guioptions.contains(GUIO_NOASPECT)) {
|
||||
// Aspect ratio setting - ResidualVM specific condition
|
||||
if (_guioptions.contains(GUIO_NOASPECT) || !_fullscreenCheckbox->getState()) {
|
||||
_aspectCheckbox->setState(false);
|
||||
_aspectCheckbox->setEnabled(false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user