lib/model: Save config after auto accepting folders (fixes #6922) (#6937)

This commit is contained in:
Jakob Borg 2020-08-27 16:28:19 +02:00
parent 675b535ead
commit 15ce96f704
1 changed files with 1 additions and 0 deletions

View File

@ -1019,6 +1019,7 @@ func (m *model) ClusterConfig(deviceID protocol.DeviceID, cm protocol.ClusterCon
// that might not exist until the config is committed.
w, _ := m.cfg.SetFolders(changedFolders)
w.Wait()
changed = true
}
}