From 6d3160b0abd47dbfe87c5e250843a5a86ce17f96 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 24 Sep 2016 09:11:38 +0200 Subject: [PATCH] gui: Folder is out of sync when it needs deletes, too (fixes #3588) --- gui/default/syncthing/core/syncthingController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index eebf22eed..dcc3c102f 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -654,7 +654,7 @@ angular.module('syncthing.core') if (state === 'error') { return 'stopped'; // legacy, the state is called "stopped" in the GUI } - if (state === 'idle' && $scope.model[folderCfg.id].needFiles > 0) { + if (state === 'idle' && $scope.model[folderCfg.id].needFiles + $scope.model[folderCfg.id].needDeletes > 0) { return 'outofsync'; } if (state === 'scanning') {