if (!myXmlHandler->myIdList.IsEmpty()) clearMenus();
if ( myCombo->currentText() != component )
myCombo->setCurrentText( component );
- if (component.compare(QString("Salome"))!= 0) {
+ //NRI if (component.compare(QString("Salome"))!= 0) {
+ if (component.compare( getComponentUserName( "KERNEL" ) )!= 0) {
// QApplication::setOverrideCursor( Qt::waitCursor );
myActiveComp = component;
} else { // component == "Salome"
myActiveComp = "";
- myActiveStudy->Selection( "Salome" );
+ //NRI myActiveStudy->Selection( "Salome" );
+ myActiveStudy->Selection( getComponentUserName( "KERNEL" ) );
SALOME_Selection* Sel = SALOME_Selection::Selection( myActiveStudy->getSelection() );
Sel->ClearIObjects();
for ( QToolButton* aButton=myComponentButton.first(); aButton; aButton=myComponentButton.next() ) {
void QAD_Desktop::helpContents()
{
if (myActiveComp == "")
- myActiveComp = "Salome";
+ myActiveComp = getComponentUserName( "KERNEL" ); //NRI "Salome";
QCString dir;
QString root;
SCRUTE(_interp);
/* create default selection */
- Selection( "Salome" );
+ //NRI Selection( "Salome" );
+ Selection( QAD_Application::getDesktop()->getComponentUserName( "KERNEL" ) );
/* create study frame */
myResult = true;