Browse Source

watching_only: warn after showing main window

283
Neil Booth 9 years ago
parent
commit
274d91fd6e
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -293,7 +293,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.clear_receive_tab() self.clear_receive_tab()
self.receive_list.update() self.receive_list.update()
self.tabs.show() self.tabs.show()
self.watching_only_changed()
try: try:
self.setGeometry(*self.wallet.storage.get("winpos-qt")) self.setGeometry(*self.wallet.storage.get("winpos-qt"))
@ -304,6 +303,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.hide() self.hide()
else: else:
self.show() self.show()
self.watching_only_changed()
run_hook('load_wallet', wallet, self) run_hook('load_wallet', wallet, self)
def watching_only_changed(self): def watching_only_changed(self):

Loading…
Cancel
Save