diff --git a/Furious/QtFramework/UpdatesManager.py b/Furious/QtFramework/UpdatesManager.py index fdbac7f..2dc7b17 100644 --- a/Furious/QtFramework/UpdatesManager.py +++ b/Furious/QtFramework/UpdatesManager.py @@ -72,6 +72,15 @@ class UpdatesManager(WebGETManager): super().__init__(parent, actionMessage=actionMessage) + @staticmethod + def showErrorMessageBox(parent=None): + mbox = AppQMessageBox(parent=parent, icon=AppQMessageBox.Icon.Critical) + mbox.setWindowTitle(_(APPLICATION_NAME)) + mbox.setText(_('Check for updates failed')) + + # Show the MessageBox asynchronously + mbox.open() + def successCallback(self, networkReply, **kwargs): parent = kwargs.pop('parent', None) showMessageBox = kwargs.pop('showMessageBox', True) @@ -132,15 +141,6 @@ class UpdatesManager(WebGETManager): # Show the MessageBox asynchronously mbox.open() - @staticmethod - def showErrorMessageBox(parent=None): - mbox = AppQMessageBox(parent=parent, icon=AppQMessageBox.Icon.Critical) - mbox.setWindowTitle(_(APPLICATION_NAME)) - mbox.setText(_('Check for updates failed')) - - # Show the MessageBox asynchronously - mbox.open() - def failureCallback(self, networkReply, **kwargs): showMessageBox = kwargs.pop('showMessageBox', True)