follow-up c505a9b8b498fa661a09fc9bc02e4b71e0f76a68

This commit is contained in:
ThomasV 2018-07-16 11:44:01 +02:00 committed by SomberNight
parent f78e1a5606
commit 8af31ad045
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -127,7 +127,7 @@ class RequestList(MyTreeWidget):
item = QTreeWidgetItem([date, r, description, amount_str, ''])
item.setIcon(1, self.icon_cache.get(":icons/lightning.png"))
item.setData(0, Qt.UserRole, REQUEST_TYPE_LN)
item.setData(0, Qt.UserRole+1, payreq_key)
item.setData(1, Qt.UserRole, payreq_key)
self.addTopLevelItem(item)
def create_menu(self, position):