|
|
@ -475,13 +475,13 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): |
|
|
|
self.import_address_menu = wallet_menu.addAction(_("Import addresses"), self.import_addresses) |
|
|
|
wallet_menu.addSeparator() |
|
|
|
|
|
|
|
history_menu = wallet_menu.addMenu(_("&Addresses")) |
|
|
|
history_menu.addAction(_("&Filter"), lambda: self.address_list.show_toolbar(True)) |
|
|
|
addresses_menu = wallet_menu.addMenu(_("&Addresses")) |
|
|
|
addresses_menu.addAction(_("&Filter"), lambda: self.address_list.toggle_toolbar(self.config)) |
|
|
|
labels_menu = wallet_menu.addMenu(_("&Labels")) |
|
|
|
labels_menu.addAction(_("&Import"), self.do_import_labels) |
|
|
|
labels_menu.addAction(_("&Export"), self.do_export_labels) |
|
|
|
history_menu = wallet_menu.addMenu(_("&History")) |
|
|
|
history_menu.addAction(_("&Filter"), lambda: self.history_list.show_toolbar(True)) |
|
|
|
history_menu.addAction(_("&Filter"), lambda: self.history_list.toggle_toolbar(self.config)) |
|
|
|
history_menu.addAction(_("&Summary"), self.history_list.show_summary) |
|
|
|
history_menu.addAction(_("&Plot"), self.history_list.plot_history_dialog) |
|
|
|
history_menu.addAction(_("&Export"), self.history_list.export_history_dialog) |
|
|
@ -754,7 +754,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): |
|
|
|
from .history_list import HistoryList |
|
|
|
self.history_list = l = HistoryList(self) |
|
|
|
l.searchable_list = l |
|
|
|
return self.create_list_tab(l, l.create_toolbar()) |
|
|
|
toolbar = l.create_toolbar(self.config) |
|
|
|
toolbar_shown = self.config.get('show_toolbar_history', False) |
|
|
|
l.show_toolbar(toolbar_shown) |
|
|
|
return self.create_list_tab(l, toolbar) |
|
|
|
|
|
|
|
def show_address(self, addr): |
|
|
|
from . import address_dialog |
|
|
@ -1745,7 +1748,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): |
|
|
|
def create_addresses_tab(self): |
|
|
|
from .address_list import AddressList |
|
|
|
self.address_list = l = AddressList(self) |
|
|
|
return self.create_list_tab(l, l.create_toolbar()) |
|
|
|
toolbar = l.create_toolbar(self.config) |
|
|
|
toolbar_shown = self.config.get('show_toolbar_addresses', False) |
|
|
|
l.show_toolbar(toolbar_shown) |
|
|
|
return self.create_list_tab(l, toolbar) |
|
|
|
|
|
|
|
def create_utxo_tab(self): |
|
|
|
from .utxo_list import UTXOList |
|
|
|