commit bfb0141b2075110945fa79072d28223eb43a7321
parent 3b8c1c6c04effe94ffe50ad2076840ef6439835d
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 6 Apr 2018 18:47:16 +0200
fix #4230
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
@@ -336,7 +336,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
menu.addAction(_("Remove"), lambda: self.remove_local_tx(tx_hash))
menu.addAction(_("Copy {}").format(column_title), lambda: self.parent.app.clipboard().setText(column_data))
for c in self.editable_columns:
- menu.addAction(_("Edit {}").format(self.headerItem().text(c)), lambda: self.editItem(item, c))
+ menu.addAction(_("Edit {}").format(self.headerItem().text(c)),
+ lambda bound_c=c: self.editItem(item, bound_c))
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
if is_unconfirmed and tx:
rbf = is_mine and not tx.is_final()