fixes for updater
This commit is contained in:
parent
52a5d248c7
commit
e598d027eb
2 changed files with 7 additions and 6 deletions
|
|
@ -259,6 +259,8 @@ class Toxygen:
|
|||
self.tray.show()
|
||||
self.tray.activated.connect(tray_activated)
|
||||
|
||||
self.ms.show()
|
||||
|
||||
updating = False
|
||||
if settings['update'] and updater.updater_available() and updater.connection_available(): # auto update
|
||||
version = updater.check_for_updates()
|
||||
|
|
@ -268,7 +270,7 @@ class Toxygen:
|
|||
updating = True
|
||||
else:
|
||||
reply = QtGui.QMessageBox.question(None,
|
||||
'',
|
||||
'Toxygen',
|
||||
QtGui.QApplication.translate("login",
|
||||
'Update for Toxygen was found. Download and install it?',
|
||||
None,
|
||||
|
|
@ -286,8 +288,6 @@ class Toxygen:
|
|||
del self.tox
|
||||
return
|
||||
|
||||
self.ms.show()
|
||||
|
||||
plugin_helper = PluginLoader(self.tox, settings) # plugin support
|
||||
plugin_helper.load()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue