mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
remove 'send from' context menu (replaced by coins tab)
This commit is contained in:
parent
916fc0d791
commit
bffb10f53f
1 changed files with 0 additions and 5 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue