From 8ba0b8335302cead11fe482cd1576ad40533332d Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 3 Aug 2018 08:53:43 +0200 Subject: [PATCH] Wizard: pre-select the right radio button... ... when the wizardSelectiveSyncDefaultNothing branding option is set Note: bormally the right option is set when the "choose what to sync" dialog is closed. So this was only a problem when the dialog was visible for the first time, the wrong option would be selected underneath. Issue #6685 --- src/gui/wizard/owncloudadvancedsetuppage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/wizard/owncloudadvancedsetuppage.cpp b/src/gui/wizard/owncloudadvancedsetuppage.cpp index 90e855f456..0ff5fafb74 100644 --- a/src/gui/wizard/owncloudadvancedsetuppage.cpp +++ b/src/gui/wizard/owncloudadvancedsetuppage.cpp @@ -142,6 +142,7 @@ void OwncloudAdvancedSetupPage::initializePage() if (Theme::instance()->wizardSelectiveSyncDefaultNothing()) { _selectiveSyncBlacklist = QStringList("/"); + setRadioChecked(_ui.rSelectiveSync); QTimer::singleShot(0, this, &OwncloudAdvancedSetupPage::slotSelectiveSyncClicked); }