Merge pull request #1493 from marcoll/master

Reset the scroll offset when clearing a dynamic ribbon widget
This commit is contained in:
auriamg 2014-08-31 19:05:06 -04:00
commit 27fb1f6254

View File

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