homescreenapp/hsutils/src/hspageindicator.cpp
changeset 92 6727c5d0afc7
parent 77 4b195f3bea29
equal deleted inserted replaced
85:35368b604b28 92:6727c5d0afc7
   134 /*!
   134 /*!
   135 
   135 
   136 */
   136 */
   137 bool HsPageIndicator::isAnimationRunning() const
   137 bool HsPageIndicator::isAnimationRunning() const
   138 {
   138 {
   139     return mItems.at(mActiveItemIndex)->isAnimationRunning();
   139     if (0 <= mActiveItemIndex && mActiveItemIndex <= itemCount()){
       
   140         return mItems.at(mActiveItemIndex)->isAnimationRunning();
       
   141     }
       
   142     return false;
   140 }
   143 }
   141 
   144 
   142 /*!
   145 /*!
   143 
   146 
   144 */
   147 */