Bump mod time when editing saved searches
Fixes saved searches not getting synced when modified.
This commit is contained in:
parent
ba7abb53e2
commit
9eaacf8977
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user