diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/items/qsgitemview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/items/qsgitemview.cpp b/src/declarative/items/qsgitemview.cpp index 1791fb9dae..7e77a0a601 100644 --- a/src/declarative/items/qsgitemview.cpp +++ b/src/declarative/items/qsgitemview.cpp @@ -1381,6 +1381,9 @@ void QSGItemViewPrivate::updateViewport() void QSGItemViewPrivate::layout() { Q_Q(QSGItemView); + if (inApplyModelChanges) + return; + if (!isValid() && !visibleItems.count()) { clear(); setPosition(contentStartPosition()); |