CComponentsFrmClock: Fix thread handling

- Set clock activ = false for default
This commit is contained in:
M. Liebmann
2014-02-13 18:18:59 +01:00
parent 0be3cb731d
commit ddc826ab51
4 changed files with 14 additions and 6 deletions

View File

@@ -610,7 +610,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
}
else if (actionKey == "running_clock"){
if (clock_r == NULL){
clock_r = new CComponentsFrmClock(100, 50, 0, 50, "%H.%M:%S");
clock_r = new CComponentsFrmClock(100, 50, 0, 50, "%H.%M:%S", true);
clock_r->setClockFont(SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME);
clock_r->setClockIntervall(1);
// clock_r->doPaintBg(false);