follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03

This commit is contained in:
ThomasV 2018-07-16 13:45:18 +02:00 committed by SomberNight
parent 73d0a3baf6
commit c0c7b92bff
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -153,7 +153,8 @@ class RequestList(MyTreeWidget):
column_title = self.headerItem().text(column) column_title = self.headerItem().text(column)
column_data = item.text(column) column_data = item.text(column)
menu = QMenu(self) menu = QMenu(self)
menu.addAction(_("Copy"), lambda: self.parent.app.clipboard().setText(req)) uri = self.parent.get_request_URI(addr)
menu.addAction(_("Copy"), lambda: self.parent.app.clipboard().setText(uri))
menu.addAction(_("Copy {}").format(column_title), lambda: self.parent.app.clipboard().setText(column_data)) menu.addAction(_("Copy {}").format(column_title), lambda: self.parent.app.clipboard().setText(column_data))
menu.addAction(_("Save as BIP70 file"), lambda: self.parent.export_payment_request(addr)) menu.addAction(_("Save as BIP70 file"), lambda: self.parent.export_payment_request(addr))
menu.addAction(_("Delete"), lambda: self.parent.delete_payment_request(addr)) menu.addAction(_("Delete"), lambda: self.parent.delete_payment_request(addr))