tQt: list requests and invoices in descending order - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 94443ebe5e42d21a47c3ad9d8b0a00fd71c63640 DIR parent abb076061615e77cf01ed105a9520ab7f8eaad42 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 3 Mar 2020 11:25:54 +0100 Qt: list requests and invoices in descending order Diffstat: M electrum/gui/qt/invoice_list.py | 2 +- M electrum/gui/qt/request_list.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py t@@ -128,7 +128,7 @@ class InvoiceList(MyTreeView): self.selectionModel().select(self.model().index(0,0), QItemSelectionModel.SelectCurrent) # sort requests by date - self.sortByColumn(self.Columns.DATE, Qt.AscendingOrder) + self.sortByColumn(self.Columns.DATE, Qt.DescendingOrder) # hide list if empty if self.parent.isVisible(): b = self.model().rowCount() > 0 DIR diff --git a/electrum/gui/qt/request_list.py b/electrum/gui/qt/request_list.py t@@ -151,7 +151,7 @@ class RequestList(MyTreeView): self.model().insertRow(self.model().rowCount(), items) self.filter() # sort requests by date - self.sortByColumn(self.Columns.DATE, Qt.AscendingOrder) + self.sortByColumn(self.Columns.DATE, Qt.DescendingOrder) # hide list if empty if self.parent.isVisible(): b = self.model().rowCount() > 0