瀏覽代碼

Folder: Treat file unlock similar to external change #6822

For consistent handling of incoming notifications.
Christian Kamm 7 年之前
父節點
當前提交
da178c1352
共有 1 個文件被更改,包括 2 次插入1 次删除
  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);
     }
 }