From 6c90aaaf2c10115bcb80f130f60a99529c0272b2 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 6 Apr 2006 17:43:49 +0000 Subject: [PATCH] update clock directly onShow --- lib/python/Components/Clock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- 2.30.2