From 5f802aa69d5e2f4c0c1abf5a456aa2f14c3b0028 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 12 Jun 2014 10:21:44 +0200 Subject: [PATCH] fix varname --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 99cd6620..63013a53 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1213,7 +1213,7 @@ class ElectrumWindow(QMainWindow): run_hook('create_contact_menu', menu, item) menu.exec_(self.contacts_list.viewport().mapToGlobal(position)) - def delete_invoice(self, item): + def delete_invoice(self, key): self.invoices.pop(key) self.wallet.storage.put('invoices', self.invoices) self.update_invoices_tab()