flush config on sort order change
This commit is contained in:
parent
2c362d6991
commit
1318118461
@ -947,10 +947,14 @@ by clicking on one on the left."""
|
||||
if type == "noteFld":
|
||||
ord = not ord
|
||||
self.col.conf["sortBackwards"] = ord
|
||||
self.col.setMod()
|
||||
self.col.save()
|
||||
self.search()
|
||||
else:
|
||||
if self.col.conf["sortBackwards"] != ord:
|
||||
self.col.conf["sortBackwards"] = ord
|
||||
self.col.setMod()
|
||||
self.col.save()
|
||||
self.model.reverse()
|
||||
self.setSortIndicator()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user