Browse Source

sort requests by date

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
02798aeb39
  1. 2
      electrum/gui/qt/request_list.py

2
electrum/gui/qt/request_list.py

@ -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)

Loading…
Cancel
Save