diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-06-03 01:59:49 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-06-03 01:59:49 (GMT) |
commit | f23ddfc5d3df3cfb99ed66704beab015796dcb31 (patch) | |
tree | 0a72ed752d5760d2cc9f0f4f1a8d1d71c81fc001 /src/declarative/graphicsitems/qdeclarativepathview.cpp | |
parent | 8aaeff9fb126021432e469899534e87a107c8b2d (diff) | |
download | Qt-f23ddfc5d3df3cfb99ed66704beab015796dcb31.zip Qt-f23ddfc5d3df3cfb99ed66704beab015796dcb31.tar.gz Qt-f23ddfc5d3df3cfb99ed66704beab015796dcb31.tar.bz2 |
Ensure PathView mappedRange is updated when pathItemCount changes.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepathview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepathview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepathview.cpp b/src/declarative/graphicsitems/qdeclarativepathview.cpp index 695af7e..f58b054 100644 --- a/src/declarative/graphicsitems/qdeclarativepathview.cpp +++ b/src/declarative/graphicsitems/qdeclarativepathview.cpp @@ -895,6 +895,7 @@ void QDeclarativePathView::setPathItemCount(int i) if (i < 1) i = 1; d->pathItems = i; + d->updateMappedRange(); if (d->isValid() && isComponentComplete()) { d->regenerate(); } |