X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aa3e781f31a04223416f0a34b25ab95fc0bef429..67e8a7bf868725c2d6fec00675dc5320bbbeb6ff:/lib/python/Components/VariableValue.py diff --git a/lib/python/Components/VariableValue.py b/lib/python/Components/VariableValue.py index c94218fe..8f0cef4c 100644 --- a/lib/python/Components/VariableValue.py +++ b/lib/python/Components/VariableValue.py @@ -1,3 +1,5 @@ +import skin + class VariableValue: """VariableValue can be used for components which have a variable value (like eSlider), based on any widget with setValue call""" @@ -13,8 +15,8 @@ class VariableValue: def getValue(self): return self.value - def GUIcreate(self, parent, skindata): - self.instance = self.createWidget(parent, skindata) + def GUIcreate(self, parent): + self.instance = self.createWidget(parent) self.instance.setValue(self.value) def GUIdelete(self):