URI: 
       tnetwork: send out update trigger when stopping/starting network - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 916cdebacb635ee3605886b20a6128cba228f9c8
   DIR parent a2ed08615c684deb1cdbc56e9571aa48cc4183b1
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue, 18 Sep 2018 19:27:33 +0200
       
       network: send out update trigger when stopping/starting network
       
       Diffstat:
         M electrum/network.py                 |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/network.py b/electrum/network.py
       t@@ -487,6 +487,7 @@ class Network(PrintError):
                self._init_server_queue()
                self.set_proxy(proxy)
                self.start_interface(self.default_server)
       +        self.trigger_callback('network_updated')
        
            def _init_server_queue(self):
                self.server_queue = queue.Queue()
       t@@ -508,6 +509,7 @@ class Network(PrintError):
                assert not self.interfaces
                self.connecting.clear()
                self._stop_server_queue()
       +        self.trigger_callback('network_updated')
        
            def _stop_server_queue(self):
                # Get a new queue - no old pending connections thanks!
       t@@ -545,7 +547,6 @@ class Network(PrintError):
                    self.switch_to_interface(server_str)
                else:
                    self.switch_lagging_interface()
       -            self.trigger_callback('network_updated')
        
            def switch_to_random_interface(self):
                '''Switch to a random connected server other than the current one'''