Explorar o código

Folder: Treat file unlock similar to external change #6822

For consistent handling of incoming notifications.
Christian Kamm %!s(int64=7) %!d(string=hai) anos
pai
achega
da178c1352
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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);
     }
 }