electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit bd5c82404d18370cb9a1c770d61dd05d57f9dcf1
parent 5ae9365f7775fe6f235b6c2931abb1839c08c18a
Author: ThomasV <thomasv@electrum.org>
Date:   Tue,  4 Dec 2018 11:52:31 +0100

do not block load_wallet with watching_only warning

Diffstat:
Melectrum/gui/qt/__init__.py | 2+-
Melectrum/gui/qt/main_window.py | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/electrum/gui/qt/__init__.py b/electrum/gui/qt/__init__.py @@ -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): diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -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)