Skip to content
Permalink
Browse files

[Plugin Manager] Fix plugin status checkbox not refreshed after insta…

…lling from zip
  • Loading branch information
borysiasty committed Oct 16, 2018
1 parent a0d46d1 commit b7673c7616e1423a323aad6c61e002fc4b822ab0
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyplugin_installer/installer.py
@@ -600,7 +600,6 @@ def installFromZipFile(self, filePath):
loadPlugin(pluginName)
plugins.getAllInstalled()
plugins.rebuild()
self.exportPluginsToManager()

if settings.contains('/PythonPlugins/' + pluginName):
if settings.value('/PythonPlugins/' + pluginName, False, bool):
@@ -613,6 +612,7 @@ def installFromZipFile(self, filePath):
if startPlugin(pluginName):
settings.setValue('/PythonPlugins/' + pluginName, True)

self.exportPluginsToManager()
msg = "<b>%s</b>" % self.tr("Plugin installed successfully")
else:
msg = "<b>%s:</b> %s" % (self.tr("Plugin installation failed"), infoString)

0 comments on commit b7673c7

Please sign in to comment.
You can’t perform that action at this time.