Merge pull request #347 from Arthur-Milchior/onSortChangedUseBool
Ensuring value of sortBackwards is a Boolean
This commit is contained in:
commit
6f28b285d5
@ -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 New Issue
Block a user