Bladeren bron

Folder: Treat file unlock similar to external change #6822

For consistent handling of incoming notifications.
Christian Kamm 7 jaren geleden
bovenliggende
commit
da178c1352
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/gui/folderman.cpp

+ 2 - 1
src/gui/folderman.cpp

@@ -882,7 +882,8 @@ void FolderMan::slotServerVersionChanged(Account *account)
 void FolderMan::slotWatchedFileUnlocked(const QString &path)
 {
     if (Folder *f = folderForPath(path)) {
-        f->scheduleThisFolderSoon();
+        // Treat this equivalently to the file being reported by the file watcher
+        f->slotWatchedPathChanged(path);
     }
 }