mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Wizard: Improve folder creation (2)
This commit is contained in:
parent
5f316f8b96
commit
26af3ce525
@ -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 New Issue
Block a user