Request restart for GUI setting changes

This commit is contained in:
Jakob Borg 2014-06-13 20:25:10 +02:00
parent f241b63e0e
commit 4c61ab0f18

View File

@ -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
}