Small correction in dynamic ribbon to avoid some weird behaviour in the GP editor

This commit is contained in:
Marc Coll Carrillo 2014-09-23 22:19:25 +02:00
parent 06523a62c3
commit 6b42f1b7b7

View File

@ -492,6 +492,7 @@ void DynamicRibbonWidget::clearItems()
m_items.clear();
m_animated_contents = false;
m_scroll_offset = 0;
GUIEngine::needsUpdate.remove(this);
}
// -----------------------------------------------------------------------------
void DynamicRibbonWidget::elementRemoved()