Merge pull request #1493 from marcoll/master
Reset the scroll offset when clearing a dynamic ribbon widget
This commit is contained in:
commit
27fb1f6254
@ -491,6 +491,7 @@ void DynamicRibbonWidget::clearItems()
|
||||
{
|
||||
m_items.clear();
|
||||
m_animated_contents = false;
|
||||
m_scroll_offset = 0;
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
void DynamicRibbonWidget::elementRemoved()
|
||||
|
Loading…
Reference in New Issue
Block a user