tqt addresses tab: fix "Spend from" - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 800c05b32f020746ba7d7f4f2c8401ce84055d9c DIR parent 0c0a6b214514eccda52d474fa935543bd8fb1c12 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 13 Nov 2019 05:46:45 +0100 qt addresses tab: fix "Spend from" Diffstat: M electrum/gui/qt/address_list.py | 2 +- M electrum/gui/qt/main_window.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) --- DIR diff --git a/electrum/gui/qt/address_list.py b/electrum/gui/qt/address_list.py t@@ -246,7 +246,7 @@ class AddressList(MyTreeView): coins = self.wallet.get_spendable_coins(addrs) 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) menu.exec_(self.viewport().mapToGlobal(position)) DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -1997,10 +1997,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): self.update_lock_icon() 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()) if not self.search_box.isHidden(): self.search_box.setFocus(1)