mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Merge pull request #2864 from nextcloud/fixes_for_wizard_advanced_setup
Fixes for wizard advanced setup
This commit is contained in:
commit
fd604ddc9e
2 changed files with 5 additions and 1 deletions
|
@ -149,6 +149,7 @@ void OwncloudAdvancedSetupPage::initializePage()
|
|||
|
||||
if (Theme::instance()->wizardSelectiveSyncDefaultNothing()) {
|
||||
_selectiveSyncBlacklist = QStringList("/");
|
||||
setRadioChecked(_ui.rSelectiveSync);
|
||||
QTimer::singleShot(0, this, &OwncloudAdvancedSetupPage::slotSelectiveSyncClicked);
|
||||
}
|
||||
|
||||
|
@ -367,6 +368,9 @@ void OwncloudAdvancedSetupPage::slotSelectiveSyncClicked()
|
|||
|
||||
if (updateBlacklist) {
|
||||
if (!_selectiveSyncBlacklist.isEmpty()) {
|
||||
_ui.rSelectiveSync->blockSignals(true);
|
||||
setRadioChecked(_ui.rSelectiveSync);
|
||||
_ui.rSelectiveSync->blockSignals(false);
|
||||
auto s = dlg->estimatedSize();
|
||||
if (s > 0) {
|
||||
_ui.lSelectiveSyncSizeLabel->setText(tr("(%1)").arg(Utility::octetsToString(s)));
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<item>
|
||||
<widget class="QRadioButton" name="rSyncEverything">
|
||||
<property name="text">
|
||||
<string>S&ynchronize everything from server (recommended)</string>
|
||||
<string>S&ynchronize everything from server</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
|
|
Loading…
Reference in a new issue