mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't remember sort index if it's deck specific
This commit is contained in:
parent
928bc99e1a
commit
fb840502cc
1 changed files with 2 additions and 1 deletions
|
@ -321,7 +321,8 @@ class EditDeck(QMainWindow):
|
|||
else:
|
||||
self.sortKey = ("field", self.sortFields[idx-8])
|
||||
self.sortIndex = idx
|
||||
self.config['sortIndex'] = idx
|
||||
if idx <= 7:
|
||||
self.config['sortIndex'] = idx
|
||||
self.model.sortKey = self.sortKey
|
||||
if refresh:
|
||||
self.model.showMatching()
|
||||
|
|
Loading…
Reference in a new issue