URI: 
       tfix create_menu error #5609 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2801539087175937e1b068d2c5005d147543c9d5
   DIR parent ab76a1fe5bf7360d93e2a00621f58ce08165d9db
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue,  3 Sep 2019 14:50:34 +0200
       
       fix create_menu error #5609
       
       Diffstat:
         M electrum/gui/qt/history_list.py     |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py
       t@@ -602,7 +602,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):
                height = self.wallet.get_tx_height(tx_hash).height
                is_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(tx)
                is_unconfirmed = height <= 0
       -        pr_key = self.wallet.invoices.paid.get(tx_hash)
       +        #pr_key = self.wallet.invoices.paid.get(tx_hash)
                menu = QMenu()
                if height in [TX_HEIGHT_FUTURE, TX_HEIGHT_LOCAL]:
                    menu.addAction(_("Remove"), lambda: self.remove_local_tx(tx_hash))
       t@@ -629,8 +629,8 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):
                        child_tx = self.wallet.cpfp(tx, 0)
                        if child_tx:
                            menu.addAction(_("Child pays for parent"), lambda: self.parent.cpfp(tx, child_tx))
       -        if pr_key:
       -            menu.addAction(read_QIcon("seal"), _("View invoice"), lambda: self.parent.show_invoice(pr_key))
       +        #if pr_key:
       +        #    menu.addAction(read_QIcon("seal"), _("View invoice"), lambda: self.parent.show_invoice(pr_key))
                if tx_URL:
                    menu.addAction(_("View on block explorer"), lambda: webopen(tx_URL))
                menu.exec_(self.viewport().mapToGlobal(position))