GUI bugfix
This commit is contained in:
parent
6a963ffcc9
commit
ee64a22349
@ -110,6 +110,9 @@ void LabelWidget::add()
|
||||
|
||||
if (m_scroll_speed <= 0)
|
||||
m_element->setNotClipped(true);
|
||||
|
||||
if (!m_is_visible)
|
||||
m_element->setVisible(false);
|
||||
} // add
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -183,10 +183,8 @@ void TracksScreen::beforeAddingWidget()
|
||||
m_laps = NULL;
|
||||
m_reversed = NULL;
|
||||
getWidget("lap-text")->setVisible(false);
|
||||
getWidget<LabelWidget>("lap-text")->setText(L"", false);
|
||||
getWidget("lap-spinner")->setVisible(false);
|
||||
getWidget("reverse-text")->setVisible(false);
|
||||
getWidget<LabelWidget>("reverse-text")->setText(L"", false);
|
||||
getWidget("reverse")->setVisible(false);
|
||||
calculateLayout();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user