From 4eac43bf1c66847feef1711990e4c67043f90d79 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 24 Sep 2007 00:14:59 +0000 Subject: [PATCH] push down initial 'changed' event --- lib/python/Components/Converter/MenuEntryCompare.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/python/Components/Converter/MenuEntryCompare.py b/lib/python/Components/Converter/MenuEntryCompare.py index 42cdc5d1..9f8228e1 100644 --- a/lib/python/Components/Converter/MenuEntryCompare.py +++ b/lib/python/Components/Converter/MenuEntryCompare.py @@ -20,6 +20,7 @@ class MenuEntryCompare(Converter, object): boolean = property(getBool) - def changed(self, *args, **kwargs): - if args[0][0] == self.CHANGED_DEFAULT: + def changed(self, what): + if what[0] == self.CHANGED_DEFAULT: self.source.onSelectionChanged.append(self.selChanged) + Converter.changed(self, what) -- 2.30.2