diff --git a/aqt/browser.py b/aqt/browser.py index f127e0c6e..d83e34cb3 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -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):