electrum

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

commit bffb10f53fe8fcb86744c0b3f617499b0c596585
parent 916fc0d791206f585538f499425f407fdab94464
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  9 Jan 2017 21:23:22 +0100

remove 'send from' context menu (replaced by coins tab)

Diffstat:
Mgui/qt/address_list.py | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py @@ -129,11 +129,6 @@ class AddressList(MyTreeWidget): if any(self.wallet.is_frozen(addr) for addr in addrs): menu.addAction(_("Unfreeze"), lambda: self.parent.set_frozen_state(addrs, False)) - def can_send(addr): - return not self.wallet.is_frozen(addr) and sum(self.wallet.get_addr_balance(addr)[:2]) - if any(can_send(addr) for addr in addrs): - menu.addAction(_("Send From"), lambda: self.parent.send_from_addresses(addrs)) - run_hook('receive_menu', menu, addrs, self.wallet) menu.exec_(self.viewport().mapToGlobal(position))