Skip to content

Commit b7673c7

Browse files
committed
[Plugin Manager] Fix plugin status checkbox not refreshed after installing from zip
1 parent a0d46d1 commit b7673c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyplugin_installer/installer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ def installFromZipFile(self, filePath):
600600
loadPlugin(pluginName)
601601
plugins.getAllInstalled()
602602
plugins.rebuild()
603-
self.exportPluginsToManager()
604603

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

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

0 commit comments

Comments
 (0)