Reset the scroll offset when clearing a dynamic ribbon widget
This commit is contained in:
parent
fd1f2537d4
commit
76b4f929df
@ -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