Commit 44228272 authored by shibakaneki's avatar shibakaneki

Resolved issue SANKORE-412

parent ce670e0d
......@@ -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);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment