commit 0fa38074deea8ab4e07c9b948f0fea8a21dfae29
parent 127f5f8804fb46267ebddc798265f96dd2a6b7be
Author: Neil Booth <kyuupichan@gmail.com>
Date: Tue, 1 Sep 2015 17:08:12 +0900
Fix menu editing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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))