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