QStringList anIndices = theIndicesInfo.split( ";" );
for ( int i = 0, aCount = anIndices.size(); i < aCount; i++ ) {
- Display( theEntry, anIndices[i], theView );
+ Display( theEntry, anIndices[i].toInt(), theView );
}
}
UpdateColorScale(false,false);
// hide annotations for erased presentation
- SUIT_Session* session = SUIT_Session::session();
- SalomeApp_Application* anApp = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
- GeometryGUI* aModule = dynamic_cast<GeometryGUI*>( anApp->activeModule() );
- if ( aModule )
- aModule->GetAnnotationMgr()->EraseVisibleAnnotations(QString(p->GetEntry()), v);
+ //SUIT_Session* session = SUIT_Session::session();
+ //SalomeApp_Application* anApp = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
+ //GeometryGUI* aModule = dynamic_cast<GeometryGUI*>( anApp->activeModule() );
+ //if ( aModule )
+ // aModule->GetAnnotationMgr()->EraseVisibleAnnotations(QString(p->GetEntry()), v);
}
//=================================================================