commit f5518a85663da3b882be409c19a7899eb0bdc437
parent 0277f79b7e37d4e449242f4928ffbc40e92df186
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 17 Feb 2017 14:43:30 +0100
keep reference to qthread object
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/network_dialog.py b/gui/qt/network_dialog.py
@@ -183,7 +183,7 @@ class NetworkChoiceLayout(object):
self.tor_button.clicked.connect(self.use_tor_proxy)
grid.addWidget(self.tor_button, 5, 1, 1, 2)
self.layout_ = vbox
- td = TorDetector()
+ self.td = td = TorDetector()
td.found_proxy.connect(self.suggest_proxy)
td.start()