mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Request restart for GUI setting changes
This commit is contained in:
parent
f241b63e0e
commit
4c61ab0f18
@ -269,7 +269,7 @@ func restPostConfig(req *http.Request, m *model.Model) {
|
|||||||
cfg.Options.URDeclined = newCfg.Options.URDeclined
|
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
|
configInSync = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user