From 1ddbbcc5385554314a1a142d8c2b7919851fe25b Mon Sep 17 00:00:00 2001 From: acid-burn Date: Thu, 17 Feb 2011 12:00:56 +0100 Subject: [PATCH] PluginComponent.py: properly reset all values if clearPluginList is called for example with an language change. refs #670 --- lib/python/Components/PluginComponent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index 0e178fff..e5194b28 100755 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -124,6 +124,8 @@ class PluginComponent: def clearPluginList(self): self.pluginList = [] self.plugins = {} + self.firstRun = True + self.restartRequired = False def shutdown(self): for p in self.pluginList[:]: -- 2.30.2