From 4c61ab0f1831113f34d5e1bab040c18c86471995 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Fri, 13 Jun 2014 20:25:10 +0200 Subject: [PATCH] Request restart for GUI setting changes --- cmd/syncthing/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 56247d295..00c524e43 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 }