electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit cb9a636616f516551c00d8681290a73be6c4c980
parent 1f8e6d38c8dd36f3ed751e57586c81ebfb1387e0
Author: ThomasV <thomasv@electrum.org>
Date:   Tue,  7 Jun 2016 10:55:36 +0200

fix #1768

Diffstat:
Mgui/qt/address_list.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py @@ -106,6 +106,8 @@ class AddressList(MyTreeWidget): address_item.addChild(utxo_item) def create_menu(self, position): + from electrum.wallet import Multisig_Wallet + is_multisig = isinstance(self.wallet, Multisig_Wallet) selected = self.selectedItems() multi_select = len(selected) > 1 addrs = [unicode(item.text(0)) for item in selected] @@ -136,7 +138,7 @@ class AddressList(MyTreeWidget): menu.addAction(_('Public Keys'), lambda: self.parent.show_public_keys(addr)) if self.wallet.can_export(): menu.addAction(_("Private key"), lambda: self.parent.show_private_key(addr)) - if not self.wallet.is_watching_only(): + if not is_multisig and not self.wallet.is_watching_only(): menu.addAction(_("Sign/verify message"), lambda: self.parent.sign_verify_message(addr)) menu.addAction(_("Encrypt/decrypt message"), lambda: self.parent.encrypt_message(addr)) if self.wallet.is_imported(addr):