Skip to content
Permalink
Browse files
Set wait cursor while installing plugin from ZIP
  • Loading branch information
gacarrillor committed Sep 10, 2021
1 parent 1b1e80d commit d8f02f98c6c63ce2a75013dd6d149113da31a08e
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/pyplugin_installer/installer.py
@@ -649,6 +649,7 @@ def installFromZipFile(self, filePath):
keepTrying = False

if success:
QApplication.setOverrideCursor(Qt.WaitCursor)
updateAvailablePlugins()
self.processDependencies(pluginName)
loadPlugin(pluginName)
@@ -665,6 +666,7 @@ def installFromZipFile(self, filePath):
if startPlugin(pluginName):
settings.setValue('/PythonPlugins/' + pluginName, True)

QApplication.restoreOverrideCursor()
self.exportPluginsToManager()
msg = "<b>%s</b>" % self.tr("Plugin installed successfully")
else:

0 comments on commit d8f02f9

Please sign in to comment.