installwizard: set network to None if offline
authorThomasV <thomasv@gitorious>
Wed, 8 Jan 2014 09:36:39 +0000 (10:36 +0100)
committerThomasV <thomasv@gitorious>
Wed, 8 Jan 2014 09:36:39 +0000 (10:36 +0100)
gui/qt/installwizard.py

index 3d320c9..83adc46 100644 (file)
@@ -309,6 +309,7 @@ class InstallWizard(QDialog):
             else:
                 QMessageBox.information(None, _('Warning'), _('You are offline'), _('OK'))
                 self.network.stop()
+                self.network = None
 
         # start wallet threads
         wallet.start_threads(self.network)