lib/model: Trigger a pull when ignore patterns change

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4532
This commit is contained in:
Jakob Borg
2017-11-20 16:29:36 +00:00
parent 00ce889a8b
commit 4949721c0b
3 changed files with 3 additions and 6 deletions

View File

@@ -1728,7 +1728,7 @@ func (f *sendReceiveFolder) basePause() time.Duration {
func (f *sendReceiveFolder) IgnoresUpdated() {
f.folder.IgnoresUpdated()
f.IndexUpdated()
f.SchedulePull()
}
// A []fileError is sent as part of an event and will be JSON serialized.