URI: 
       tnetwork dialog: display branch size - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5834b391ea82c677773f8fd670fc11904bea7c78
   DIR parent 50ad656c87fe59e5756a64a12ce31968bb3e1301
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 18 Jul 2017 18:11:26 +0200
       
       network dialog: display branch size
       
       Diffstat:
         M gui/qt/network_dialog.py            |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/qt/network_dialog.py b/gui/qt/network_dialog.py
       t@@ -362,10 +362,12 @@ class NetworkChoiceLayout(object):
                status = _("Connected to %d nodes.")%n if n else _("Not connected")
                self.status_label.setText(status)
                if len(self.network.blockchains)>1:
       +            chain = self.network.blockchain()
                    checkpoint = self.network.get_checkpoint()
                    name = self.network.get_blockchain_name(self.network.blockchain())
                    msg = _('Chain split detected at block %d')%checkpoint + '\n'
                    msg += (_('You are following branch') if auto_connect else _('Your server is on branch'))+ ' ' + name
       +            msg += ' (%d %s)' % (chain.get_branch_size(), _('blocks'))
                else:
                    msg = ''
                self.split_label.setText(msg)