mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
sort requests by date
This commit is contained in:
parent
3ce0f7f0cd
commit
02798aeb39
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue