mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
Fix Explorer integration re-save (fixes issue #1807)
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
bf838bd336
commit
f1dd312b2e
1 changed files with 64 additions and 61 deletions
|
@ -79,6 +79,8 @@ void NavigationPaneHelper::updateCloudStorageRegistry()
|
|||
});
|
||||
#endif
|
||||
|
||||
// Only save folder entries if the option is enabled.
|
||||
if (_showInExplorerNavigationPane) {
|
||||
// Then re-save every folder that has a valid navigationPaneClsid to the registry.
|
||||
// We currently don't distinguish between new and existing CLSIDs, if it's there we just
|
||||
// save over it. We at least need to update the tile in case we are suddently using multiple accounts.
|
||||
|
@ -150,6 +152,7 @@ void NavigationPaneHelper::updateCloudStorageRegistry()
|
|||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Then remove anything that isn't in our folder list anymore.
|
||||
foreach (auto &clsid, entriesToRemove) {
|
||||
|
|
Loading…
Reference in a new issue