diff options
author | Jakob Borg <jakob@nym.se> | 2014-06-13 20:25:10 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-06-13 20:25:10 +0200 |
commit | 4c61ab0f1831113f34d5e1bab040c18c86471995 (patch) | |
tree | 46985dfd23c53e8dabca4dc97ece94af316b688a /cmd | |
parent | f241b63e0ef3aa5c9dc69eb67c567e2258d09925 (diff) |
Request restart for GUI setting changes
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/syncthing/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 56247d2954..00c524e43c 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -269,7 +269,7 @@ func restPostConfig(req *http.Request, m *model.Model) { cfg.Options.URDeclined = newCfg.Options.URDeclined } - if !reflect.DeepEqual(cfg.Options, newCfg.Options) { + if !reflect.DeepEqual(cfg.Options, newCfg.Options) || !reflect.DeepEqual(cfg.GUI, newCfg.GUI) { configInSync = false } |