Reset the scroll offset when clearing a dynamic ribbon widget

This commit is contained in:
Marc Coll Carrillo 2014-08-31 17:54:40 +02:00
parent fd1f2537d4
commit 76b4f929df

View File

@ -491,6 +491,7 @@ void DynamicRibbonWidget::clearItems()
{
m_items.clear();
m_animated_contents = false;
m_scroll_offset = 0;
}
// -----------------------------------------------------------------------------
void DynamicRibbonWidget::elementRemoved()