Bump mod time when editing saved searches

Fixes saved searches not getting synced when modified.
This commit is contained in:
Houssam Salem 2014-10-05 20:37:09 +11:00
parent ba7abb53e2
commit 9eaacf8977

View File

@ -1834,6 +1834,7 @@ class FavouritesLineEdit(QLineEdit):
name = dlg.textValue()
if ok:
self.mw.col.conf['savedFilters'][name] = txt
self.mw.col.setMod()
self.updateButton()
self.browser.setupTree()
@ -1845,5 +1846,6 @@ class FavouritesLineEdit(QLineEdit):
if ok == QMessageBox.Yes:
self.mw.col.conf['savedFilters'].pop(self.name, None)
self.mw.col.setMod()
self.updateButton()
self.browser.setupTree()