tadd 'copy address' to utxo menu - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a043feebf2a39e4adfad1fa6d78b7369904bf0dc DIR parent 29e2570d3d45ede9e555f8667bad840fd5cf74b3 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 9 Jan 2017 16:57:39 +0100 add 'copy address' to utxo menu Diffstat: M gui/qt/utxo_list.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/utxo_list.py b/gui/qt/utxo_list.py t@@ -61,6 +61,9 @@ class UTXOList(MyTreeWidget): return coins = filter(lambda x: self.get_name(x) in selected, self.utxos) menu = QMenu() + if len(selected) == 1: + coin = coins[0] + menu.addAction(_("Copy Address"), lambda: self.parent.app.clipboard().setText(coin.get('address'))) menu.addAction(_("Spend"), lambda: self.parent.spend_coins(coins)) menu.exec_(self.viewport().mapToGlobal(position))