diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 7c098aa61..0a9a10241 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -1711,9 +1711,9 @@ angular.module('syncthing.core') } $scope.editDeviceUntrustedChanged = function () { - if (currentDevice.untrusted) { - currentDevice.introducer = false; - currentDevice.autoAcceptFolders = false; + if ($scope.currentDevice.untrusted) { + $scope.currentDevice.introducer = false; + $scope.currentDevice.autoAcceptFolders = false; } }