diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index c62f045e2..7a64274d0 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -85,6 +85,7 @@ void CComponentsFrmClock::initVarClock() cl_thread = 0; cl_interval = 1; + activeClock = true; cl_blink_str = ""; } diff --git a/src/gui/components/cc_frm_clock.h b/src/gui/components/cc_frm_clock.h index 5d15c49b5..7c81ae67c 100644 --- a/src/gui/components/cc_frm_clock.h +++ b/src/gui/components/cc_frm_clock.h @@ -130,6 +130,9 @@ class CComponentsFrmClock : public CComponentsForm ///reinitialize clock contents virtual void refresh() { initCCLockItems(); } + + ///set clock activ/inactiv + virtual void setClockActiv(bool activ = true){activeClock = activ;}; }; #endif