From c2bcf71126c70eb5d5baaf880e53d332ca5e2259 Mon Sep 17 00:00:00 2001 From: vtexier <vit@free.fr> Date: Wed, 26 Feb 2020 11:37:14 +0100 Subject: [PATCH] [fix] fix tx history descending sort order --- src/sakia/gui/navigation/txhistory/table_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sakia/gui/navigation/txhistory/table_model.py b/src/sakia/gui/navigation/txhistory/table_model.py index 1001e2ec..bec63c2a 100644 --- a/src/sakia/gui/navigation/txhistory/table_model.py +++ b/src/sakia/gui/navigation/txhistory/table_model.py @@ -132,7 +132,7 @@ class HistoryTableModel(QAbstractTableModel): ts_to=self.ts_to, stopline_hash=STOPLINE_HASH, sort_by=HistoryTableModel.columns_to_sql[self.main_column_id], - sort_order="ASC" if Qt.AscendingOrder else "DESC", + sort_order="ASC" if self.order == Qt.AscendingOrder else "DESC", ) def change_transfer(self, transfer): -- GitLab