From 0fa38074deea8ab4e07c9b948f0fea8a21dfae29 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 1 Sep 2015 17:08:12 +0900 Subject: [PATCH] Fix menu editing --- gui/qt/history_widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/history_widget.py b/gui/qt/history_widget.py index a462e88b2..99ac720f0 100644 --- a/gui/qt/history_widget.py +++ b/gui/qt/history_widget.py @@ -100,6 +100,6 @@ class HistoryWidget(MyTreeWidget): menu = QMenu() menu.addAction(_("Copy ID to Clipboard"), lambda: self.parent.app.clipboard().setText(tx_hash)) menu.addAction(_("Details"), lambda: self.parent.show_transaction(self.wallet.transactions.get(tx_hash))) - menu.addAction(_("Edit description"), lambda: self.edit_label(item)) + menu.addAction(_("Edit description"), lambda: self.editItem(item, self.editable_columns[0])) menu.addAction(_("View on block explorer"), lambda: webbrowser.open(tx_URL)) menu.exec_(self.viewport().mapToGlobal(position))