diff --git a/widgets/scrollwidget.cpp b/widgets/scrollwidget.cpp index 85a654b4d..b6ebe1263 100644 --- a/widgets/scrollwidget.cpp +++ b/widgets/scrollwidget.cpp @@ -1368,6 +1368,7 @@ bool ScrollWidget::eventFilter(QObject *watched, QEvent *event) d->stopAnimations(); d->adjustScrollbarsTimer->start(200); updateGeometry(); + ensureItemVisible(d->widget.data()); } else if (watched == d->widget.data() && event->type() == QEvent::GraphicsSceneMove) { d->horizontalScrollBar->blockSignals(true); d->verticalScrollBar->blockSignals(true);