aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Clock.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Clock.py b/lib/python/Components/Clock.py
index 5d7ec8dc..9129acaf 100644
--- a/lib/python/Components/Clock.py
+++ b/lib/python/Components/Clock.py
@@ -21,7 +21,8 @@ class Clock(HTMLComponent, GUIComponent, VariableText):
self.clockTimer = eTimer()
self.clockTimer.timeout.get().append(self.doClock)
- def onShow(self):
+ def onShow(self):
+ self.doClock()
self.clockTimer.start(1000)
def onHide(self):