diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 96e29e631..4fe78e7ff 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -1979,10 +1979,10 @@ angular.module('syncthing.core') return; } var idx; - if ($scope.currentFolder.fsWatcherEnabled) { - idx = 1; - } else if ($scope.currentFolder.type === 'receiveencrypted') { + if ($scope.currentFolder.type === 'receiveencrypted') { idx = 2; + } else if ($scope.currentFolder.fsWatcherEnabled) { + idx = 1; } else { idx = 0; }