예제 #1
0
 def on_enabled_changed(self):
     if label_sync.is_enabled():
         for window in app_state.app.windows:
             self.window_opened(window)
     else:
         for window in app_state.app.windows:
             self.window_closed(window)
예제 #2
0
 def window_opened(self, window):
     if label_sync.is_enabled():
         app_state.app.labels_changed_signal.connect(window.update_tabs)
         for wallet in window.parent_wallet.get_child_wallets():
             self.start_wallet(wallet)
예제 #3
0
 def window_opened(self, window):
     if label_sync.is_enabled():
         app_state.app.labels_changed_signal.connect(window.update_tabs)
         for account in window._wallet.get_accounts():
             self.start_account(account)
예제 #4
0
 def window_opened(self, window):
     if label_sync.is_enabled():
         app_state.app.labels_changed_signal.connect(window.update_tabs)
         self.start_wallet(window.wallet)