mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Wizard: Improve folder creation (2)
This commit is contained in:
parent
5f316f8b96
commit
26af3ce525
2 changed files with 2 additions and 2 deletions
|
@ -313,10 +313,9 @@ void AccountSettings::slotFolderWizardAccepted()
|
|||
tr("<p>Could not create local folder <i>%1</i>.")
|
||||
.arg(QDir::toNativeSeparators(definition.localPath)));
|
||||
return;
|
||||
} else {
|
||||
FileSystem::setFolderMinimumPermissions(definition.localPath);
|
||||
}
|
||||
}
|
||||
FileSystem::setFolderMinimumPermissions(definition.localPath);
|
||||
}
|
||||
|
||||
/* take the value from the definition of already existing folders. All folders have
|
||||
|
|
|
@ -911,6 +911,7 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction dir, bool *cancel
|
|||
}
|
||||
*cancel = msgBox.clickedButton() == keepBtn;
|
||||
if (*cancel) {
|
||||
FileSystem::setFolderMinimumPermissions(path());
|
||||
journalDb()->clearFileTable();
|
||||
_lastEtag.clear();
|
||||
slotScheduleThisFolder();
|
||||
|
|
Loading…
Reference in a new issue