Fix zoom slider not updating after zoom-fit

BUG: 413469
parent 7733b980
......@@ -173,6 +173,8 @@ void TimelineWidget::slotFitZoom()
scrollPos = 0;
}
m_proxy->setScaleFactorOnMouse(scale, false);
// Update zoom slider
m_proxy->updateZoom(scale);
QMetaObject::invokeMethod(rootObject(), "goToStart", Q_ARG(QVariant, scrollPos));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment