ソースを参照

Restoration items should appear in the sync protocol

When an item is downloaded because it is restored, it shall be shown in the
sync protocol.
(It is also going to be shown in the not synchronized for a short while, but
that's fine)
Olivier Goffart 6 年 前
コミット
ee611e6004
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/libsync/syncfileitem.h

+ 1 - 1
src/libsync/syncfileitem.h

@@ -190,7 +190,7 @@ public:
      */
     bool showInProtocolTab() const
     {
-        return !showInIssuesTab()
+        return (!showInIssuesTab() || _status == SyncFileItem::Restoration)
             // Don't show conflicts that were resolved as "not a conflict after all"
             && !(_instruction == CSYNC_INSTRUCTION_CONFLICT && _status == SyncFileItem::Success);
     }