Wizard: show the choice to start a clean sync if the directory exist even on new accounts

Task #2406
This commit is contained in:
Olivier Goffart 2014-10-27 13:04:23 +01:00
parent 05c0249672
commit ce300d88ee

View File

@ -152,7 +152,8 @@ bool OwncloudAdvancedSetupPage::dataChanged()
Account *oldAccount = AccountManager::instance()->account();
if (!ocWizard || !oldAccount) {
return false;
// If there was no account configured before, the data is new (hence changed)
return true;
}
const QString url(field("OCUrl").toString());