mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 14:01:39 +00:00
do not block load_wallet with watching_only warning
This commit is contained in:
parent
5ae9365f77
commit
bd5c82404d
2 changed files with 1 additions and 2 deletions
|
@ -191,13 +191,13 @@ class ElectrumGui(PrintError):
|
|||
self.network_updated_signal_obj)
|
||||
self.nd.show()
|
||||
|
||||
@profiler
|
||||
def create_window_for_wallet(self, wallet):
|
||||
w = ElectrumWindow(self, wallet)
|
||||
self.windows.append(w)
|
||||
self.build_tray_menu()
|
||||
# FIXME: Remove in favour of the load_wallet hook
|
||||
run_hook('on_new_window', w)
|
||||
w.warn_if_watching_only()
|
||||
return w
|
||||
|
||||
def count_wizards_in_progress(func):
|
||||
|
|
|
@ -413,7 +413,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||
self.wallet.basename())
|
||||
extra = [self.wallet.storage.get('wallet_type', '?')]
|
||||
if self.wallet.is_watching_only():
|
||||
self.warn_if_watching_only()
|
||||
extra.append(_('watching only'))
|
||||
title += ' [%s]'% ', '.join(extra)
|
||||
self.setWindowTitle(title)
|
||||
|
|
Loading…
Add table
Reference in a new issue