From: nri Date: Thu, 5 Feb 2004 15:16:43 +0000 (+0000) Subject: NRI : fixed bug SMESH730. X-Git-Tag: V1_4_0~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=576150dbb77ac00bc3998c51bc172d8ab0e41b22;p=modules%2Fkernel.git NRI : fixed bug SMESH730. --- diff --git a/src/SALOMEGUI/QAD_Desktop.cxx b/src/SALOMEGUI/QAD_Desktop.cxx index 2c9111917..4b9634dfd 100644 --- a/src/SALOMEGUI/QAD_Desktop.cxx +++ b/src/SALOMEGUI/QAD_Desktop.cxx @@ -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();