URI: 
       tqt network dialog: "use Tor proxy" cb would get auto-checked incorrectly - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 15dda65c5282c133558584cff3bc397ad3763905
   DIR parent b4648eceda7408519e6b8885636fb787f4fdca23
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Thu,  2 May 2019 01:20:14 +0200
       
       qt network dialog: "use Tor proxy" cb would get auto-checked incorrectly
       
       Diffstat:
         M electrum/gui/qt/network_dialog.py   |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/network_dialog.py b/electrum/gui/qt/network_dialog.py
       t@@ -478,9 +478,10 @@ class NetworkChoiceLayout(object):
                    return
                self.tor_proxy = found_proxy
                self.tor_cb.setText("Use Tor proxy at port " + str(found_proxy[1]))
       -        if self.proxy_mode.currentIndex() == self.proxy_mode.findText('SOCKS5') \
       -            and self.proxy_host.text() == "127.0.0.1" \
       -                and self.proxy_port.text() == str(found_proxy[1]):
       +        if (self.proxy_cb.isChecked()
       +                and self.proxy_mode.currentIndex() == self.proxy_mode.findText('SOCKS5')
       +                and self.proxy_host.text() == "127.0.0.1"
       +                and self.proxy_port.text() == str(found_proxy[1])):
                    self.tor_cb.setChecked(True)
                self.tor_cb.show()