tsort requests by date - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 02798aeb397b7d724d64b4467c96940147ba89fa DIR parent 3ce0f7f0cd0351177fa645378eca621341141421 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 23 Jan 2019 17:22:58 +0100 sort requests by date Diffstat: M electrum/gui/qt/request_list.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/request_list.py b/electrum/gui/qt/request_list.py t@@ -167,6 +167,8 @@ class RequestList(MyTreeView): items[0].setData(REQUEST_TYPE_LN, ROLE_REQUEST_TYPE) items[0].setData(payreq_key, ROLE_RHASH_OR_ADDR) self.model().insertRow(self.model().rowCount(), items) + # sort requests by date + self.model().sort(0) def create_menu(self, position): idx = self.indexAt(position)