aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Soliman2018-12-18 16:41:02 -0600
committerTarek Soliman2018-12-18 16:41:02 -0600
commitff3056165bbe4299741e613a3fda26a2bd96fb6e (patch)
tree749a17a79989c556eefc3de2313f22c18166fc1c
parent93ceb9cd3ff049bc9d0d55ab56e8a0fa16944c75 (diff)
downloadscummvm-rg350-ff3056165bbe4299741e613a3fda26a2bd96fb6e.tar.gz
scummvm-rg350-ff3056165bbe4299741e613a3fda26a2bd96fb6e.tar.bz2
scummvm-rg350-ff3056165bbe4299741e613a3fda26a2bd96fb6e.zip
GUI: Fix defaulting of "Use native system file browser" checkbox
-rw-r--r--gui/options.cpp4
1 files changed, 1 insertions, 3 deletions
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