aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MenuList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/MenuList.py')
-rw-r--r--lib/python/Components/MenuList.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index 876300bd..dbdf00a4 100644
--- a/lib/python/Components/MenuList.py
+++ b/lib/python/Components/MenuList.py
@@ -25,6 +25,7 @@ class MenuList(HTMLComponent, GUIComponent):
def preWidgetRemove(self, instance):
instance.setContent(None)
+ instance.selectionChanged.get().remove(self.selectionChanged)
def selectionChanged(self):
for f in self.onSelectionChanged: