changeset 92 | 6727c5d0afc7 |
parent 77 | 4b195f3bea29 |
--- a/homescreenapp/hsutils/src/hspageindicator.cpp Thu Sep 02 20:17:27 2010 +0300 +++ b/homescreenapp/hsutils/src/hspageindicator.cpp Fri Sep 17 08:27:54 2010 +0300 @@ -136,7 +136,10 @@ */ bool HsPageIndicator::isAnimationRunning() const { - return mItems.at(mActiveItemIndex)->isAnimationRunning(); + if (0 <= mActiveItemIndex && mActiveItemIndex <= itemCount()){ + return mItems.at(mActiveItemIndex)->isAnimationRunning(); + } + return false; } /*!