commit 68ca0b73b17aed22e69fd672dfb6d45b880a5a12
parent 1e4ac1c352c71e3b1a157c8b845ed6a30a9d6e5b
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 18 Oct 2017 15:20:42 +0200
fix #2968
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py
@@ -144,7 +144,8 @@ class AddressList(MyTreeWidget):
menu = QMenu()
if not multi_select:
column_title = self.headerItem().text(col)
- menu.addAction(_("Copy %s")%column_title, lambda: self.parent.app.clipboard().setText(item.text(col)))
+ copy_text = item.text(col)
+ menu.addAction(_("Copy %s")%column_title, lambda: self.parent.app.clipboard().setText(copy_text))
menu.addAction(_('Details'), lambda: self.parent.show_address(addr))
if col in self.editable_columns:
menu.addAction(_("Edit %s")%column_title, lambda: self.editItem(item, col))