Browse Source

follow-up prev

3.3.3.1
SomberNight 6 years ago
parent
commit
39db32c3ce
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/main_window.py

2
electrum/gui/qt/main_window.py

@ -299,7 +299,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
wallet = args[0] wallet = args[0]
if wallet == self.wallet: if wallet == self.wallet:
self.need_update.set() self.need_update.set()
self.network_signal.emit('status', None)
elif event == 'network_updated': elif event == 'network_updated':
self.gui_object.network_updated_signal_obj.network_updated_signal \ self.gui_object.network_updated_signal_obj.network_updated_signal \
.emit(event, args) .emit(event, args)
@ -772,6 +771,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.status_button.setIcon( icon ) self.status_button.setIcon( icon )
def update_wallet(self): def update_wallet(self):
self.update_status()
if self.wallet.up_to_date or not self.network or not self.network.is_connected(): if self.wallet.up_to_date or not self.network or not self.network.is_connected():
self.update_tabs() self.update_tabs()

Loading…
Cancel
Save