diff options
Diffstat (limited to 'lib/python/Components/HelpMenuList.py')
| -rw-r--r-- | lib/python/Components/HelpMenuList.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/HelpMenuList.py b/lib/python/Components/HelpMenuList.py index 48802f7b..7dc51fae 100644 --- a/lib/python/Components/HelpMenuList.py +++ b/lib/python/Components/HelpMenuList.py @@ -36,6 +36,7 @@ class HelpMenuList(GUIComponent): self.l.setList(l) self.l.setFont(0, gFont("Regular", 26)) + self.l.setItemHeight(42) def ok(self): # a list entry has a "private" tuple as first entry... @@ -54,9 +55,9 @@ class HelpMenuList(GUIComponent): def postWidgetCreate(self, instance): instance.setContent(self.l) - instance.setItemHeight(42) + instance.selectionChanged.get().append(self.selectionChanged) - + def selectionChanged(self): for x in self.onSelChanged: x() |
