]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NRI : fixed bug SMESH730.
authornri <nri@opencascade.com>
Thu, 5 Feb 2004 15:16:43 +0000 (15:16 +0000)
committernri <nri@opencascade.com>
Thu, 5 Feb 2004 15:16:43 +0000 (15:16 +0000)
src/SALOMEGUI/QAD_Desktop.cxx

index 2c911191725392f94702531c3de640564910a1d3..4b9634dfd6457f8c0645950b107d568d67d4127b 100644 (file)
@@ -2478,7 +2478,9 @@ void QAD_Desktop::onOpenWith()
        } else if ( list_type_composants->length() > 1 ) {
          SALOMEGUI_OpenWith* aDlg = new SALOMEGUI_OpenWith( this );
          for (unsigned int ind = 0; ind < list_type_composants->length();ind++) {
-           aDlg->addComponent( strdup(list_type_composants[ind]) );
+           QString compusername = getComponentUserName(strdup(list_type_composants[ind]));
+           if ( compusername.compare("") != 0 )
+             aDlg->addComponent( compusername );
          }
          
          int retVal = aDlg->exec();