Allow progress bar widget to be set invisible
This commit is contained in:
parent
a3a36e33a6
commit
4eff620ee6
@ -65,6 +65,8 @@ void ProgressBarWidget::add()
|
||||
\brief animate the element and its children.
|
||||
*/
|
||||
GUIEngine::needsUpdate.push_back(this);
|
||||
if (!m_is_visible)
|
||||
m_element->setVisible(false);
|
||||
} // add
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user