Skip to content

Commit

Permalink
[Plugin Manager] Fix plugin status checkbox not refreshed after insta…
Browse files Browse the repository at this point in the history
…lling from zip
  • Loading branch information
borysiasty committed Oct 16, 2018
1 parent a0d46d1 commit b7673c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer.py
Expand Up @@ -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):
Expand All @@ -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)
Expand Down

0 comments on commit b7673c7

Please sign in to comment.