Never check option for built-in web view when disabled
Even if configured in the settings, check the option to use a browser tab as this will be used as fallback.
This commit is contained in:
parent
c08d6e54be
commit
a5f1ffd439
|
@ -1414,8 +1414,10 @@ void GeneralWebViewOptionPage::reset()
|
|||
const auto &webView = values().webView;
|
||||
switch (webView.mode) {
|
||||
case ::Settings::WebView::Mode::Builtin:
|
||||
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
||||
ui()->builtinRadioButton->setChecked(true);
|
||||
break;
|
||||
#endif
|
||||
case ::Settings::WebView::Mode::Browser:
|
||||
ui()->browserRadioButton->setChecked(true);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue