mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
qt addresses tab: fix "Spend from"
This commit is contained in:
parent
0c0a6b2145
commit
800c05b32f
2 changed files with 1 additions and 5 deletions
|
@ -246,7 +246,7 @@ class AddressList(MyTreeView):
|
||||||
|
|
||||||
coins = self.wallet.get_spendable_coins(addrs)
|
coins = self.wallet.get_spendable_coins(addrs)
|
||||||
if coins:
|
if coins:
|
||||||
menu.addAction(_("Spend from"), lambda: self.parent.spend_coins(coins))
|
menu.addAction(_("Spend from"), lambda: self.parent.utxo_list.set_spend_list(coins))
|
||||||
|
|
||||||
run_hook('receive_menu', menu, addrs, self.wallet)
|
run_hook('receive_menu', menu, addrs, self.wallet)
|
||||||
menu.exec_(self.viewport().mapToGlobal(position))
|
menu.exec_(self.viewport().mapToGlobal(position))
|
||||||
|
|
|
@ -1997,10 +1997,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
||||||
self.update_lock_icon()
|
self.update_lock_icon()
|
||||||
|
|
||||||
def toggle_search(self):
|
def toggle_search(self):
|
||||||
tab = self.tabs.currentWidget()
|
|
||||||
#if hasattr(tab, 'searchable_list'):
|
|
||||||
# tab.searchable_list.toggle_toolbar()
|
|
||||||
#return
|
|
||||||
self.search_box.setHidden(not self.search_box.isHidden())
|
self.search_box.setHidden(not self.search_box.isHidden())
|
||||||
if not self.search_box.isHidden():
|
if not self.search_box.isHidden():
|
||||||
self.search_box.setFocus(1)
|
self.search_box.setFocus(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue