projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getConfigListEntry now supports more than two arguments
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Slider.py
diff --git
a/lib/python/Components/Slider.py
b/lib/python/Components/Slider.py
index
e61b47f
..
b8144bb
100644
(file)
--- a/
lib/python/Components/Slider.py
+++ b/
lib/python/Components/Slider.py
@@
-13,7
+13,7
@@
class Slider(VariableValue, HTMLComponent, GUIComponent):
self.min = min
self.max = max
- def createWidget(self, parent):
- g = eSlider(parent)
- g.setRange(self.min, self.max)
- return g
+ GUI_WIDGET = eSlider
+
+ def postWidgetCreate(self, instance):
+ instance.setRange(self.min, self.max)