mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't mark deck changed in editor on open
This commit is contained in:
parent
87a86cbdde
commit
513a23c251
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ class EditDeck(QMainWindow):
|
|||
self.sortKey = ("field", self.sortFields[idx-9])
|
||||
self.rebuildSortIndex(self.sortKey)
|
||||
self.sortIndex = idx
|
||||
self.deck.setVar('sortIndex', idx)
|
||||
if self.deck.getInt('sortIndex') != idx:
|
||||
self.deck.setVar('sortIndex', idx)
|
||||
self.model.sortKey = self.sortKey
|
||||
self.model.updateHeader()
|
||||
if refresh:
|
||||
|
|
Loading…
Reference in a new issue