qml: don't init QERequestListModel/requestModel
This commit is contained in:
@@ -223,7 +223,8 @@ class QERequestListModel(QEAbstractInvoiceListModel, QtEventListener):
|
||||
return item
|
||||
|
||||
def get_invoice_list(self):
|
||||
return self.wallet.get_unpaid_requests()
|
||||
# disable for now, as QERequestListModel isn't used in UI
|
||||
return [] #self.wallet.get_unpaid_requests()
|
||||
|
||||
def get_invoice_for_key(self, key: str):
|
||||
return self.wallet.get_request(key)
|
||||
|
||||
Reference in New Issue
Block a user