diff options
Diffstat (limited to 'lib/python/Components/TunerInfo.py')
| -rw-r--r-- | lib/python/Components/TunerInfo.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/python/Components/TunerInfo.py b/lib/python/Components/TunerInfo.py index f841832c..53cb3d90 100644 --- a/lib/python/Components/TunerInfo.py +++ b/lib/python/Components/TunerInfo.py @@ -105,16 +105,8 @@ class TunerInfo(GUIComponent): self.g.setRange(0, 100) return self.g - def GUIcreate(self, parent): - self.instance = self.createWidget(parent) + def postWidgetCreate(self, instance): if self.message is not None: - self.instance.setText(self.message) + instance.setText(self.message) elif self.value is not None: - self.instance.setValue(self.value) - - def GUIdelete(self): - self.removeWidget(self.instance) - self.instance = None - - def removeWidget(self, instance): - pass
\ No newline at end of file + instance.setValue(self.value) |
