Resolved issue SANKORE-412

preferencesAboutTextFull
shibakaneki 13 years ago
parent ce670e0d2a
commit 44228272da
  1. 2
      src/gui/UBDocumentNavigator.cpp

@ -450,6 +450,7 @@ void UBDocumentNavigator::onSelectionChanged()
*/ */
void UBDocumentNavigator::onMovedToIndex(int index) void UBDocumentNavigator::onMovedToIndex(int index)
{ {
if(index < mThumbnails.size()){
UBSceneThumbnailNavigPixmap* pItem = dynamic_cast<UBSceneThumbnailNavigPixmap*>(mThumbnails.at(index)); UBSceneThumbnailNavigPixmap* pItem = dynamic_cast<UBSceneThumbnailNavigPixmap*>(mThumbnails.at(index));
if(NULL != pItem) if(NULL != pItem)
{ {
@ -458,3 +459,4 @@ void UBDocumentNavigator::onMovedToIndex(int index)
centerOn(mCrntItem); centerOn(mCrntItem);
} }
} }
}

Loading…
Cancel
Save