From ff3056165bbe4299741e613a3fda26a2bd96fb6e Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Tue, 18 Dec 2018 16:41:02 -0600 Subject: GUI: Fix defaulting of "Use native system file browser" checkbox --- gui/options.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gui/options.cpp') diff --git a/gui/options.cpp b/gui/options.cpp index f1efacdf9d..8d2bda5af0 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1711,9 +1711,7 @@ void GlobalOptionsDialog::build() { _("Use the native system file browser instead of the ScummVM one to select a file or directory.") ); - if (ConfMan.hasKey("gui_browser_native")) { - _useSystemDialogsCheckbox->setState(ConfMan.getBool("gui_browser_native", _domain)); - } + _useSystemDialogsCheckbox->setState(ConfMan.getBool("gui_browser_native", _domain)); } #ifdef USE_UPDATES -- cgit v1.2.3