Follow up #fa292ca7d49a50a

This commit is contained in:
Borys Jurgiel 2024-11-08 23:36:32 +01:00 committed by Nyall Dawson
parent 4aaa0a2525
commit 00eccb460f

View File

@ -118,11 +118,11 @@ class QgsPluginInstaller(QObject):
self.uninstallPlugin(key, quiet=True)
updateAvailablePlugins()
if plugin_is_active:
settings.setValue("/PythonPlugins/watchDog/" + key,
settings.setValue("/PythonPlugins/watchDogTimestamp/" + key,
QDateTime.currentDateTime().toSecsSinceEpoch())
loadPlugin(key)
startPlugin(key)
settings.remove("/PythonPlugins/watchDog/" + key)
settings.remove("/PythonPlugins/watchDogTimestamp/" + key)
# ----------------------------------------- #
def fetchAvailablePlugins(self, reloadMode):