mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
fc713d2010
1 changed files with 1 additions and 0 deletions
|
|
@ -701,6 +701,7 @@ class Browser(QMainWindow):
|
|||
hh.sectionMoved.connect(self.onColumnMoved)
|
||||
|
||||
def onSortChanged(self, idx, ord):
|
||||
ord = bool(ord)
|
||||
self.editor.saveNow(lambda: self._onSortChanged(idx, ord))
|
||||
|
||||
def _onSortChanged(self, idx, ord):
|
||||
|
|
|
|||
Loading…
Reference in a new issue