fix varname
authorThomasV <thomasv@gitorious>
Thu, 12 Jun 2014 08:21:44 +0000 (10:21 +0200)
committerThomasV <thomasv@gitorious>
Thu, 12 Jun 2014 08:21:44 +0000 (10:21 +0200)
gui/qt/main_window.py

index 99cd662..63013a5 100644 (file)
@@ -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()