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 committed by GitHub
parent 145d87ce70
commit 3393db1f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}