keep reference to qthread object

This commit is contained in:
ThomasV 2017-02-17 14:43:30 +01:00
parent 0277f79b7e
commit f5518a8566
1 changed files with 1 additions and 1 deletions

View File

@ -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()