From bd22fbc0447faa58f3a4ab52ed5545f12a47cd5c Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Wed, 2 Dec 2009 18:53:52 +1000 Subject: Update header & footer pos when items inserted. --- src/declarative/graphicsitems/qmlgraphicslistview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/declarative/graphicsitems/qmlgraphicslistview.cpp b/src/declarative/graphicsitems/qmlgraphicslistview.cpp index 6958f7f..b1692fe 100644 --- a/src/declarative/graphicsitems/qmlgraphicslistview.cpp +++ b/src/declarative/graphicsitems/qmlgraphicslistview.cpp @@ -2266,6 +2266,8 @@ void QmlGraphicsListView::itemsInserted(int modelIndex, int count) d->updateUnrequestedPositions(); d->updateViewport(); d->updateSections(); + d->updateHeader(); + d->updateFooter(); emit countChanged(); } -- cgit v0.12