From 576150dbb77ac00bc3998c51bc172d8ab0e41b22 Mon Sep 17 00:00:00 2001 From: nri Date: Thu, 5 Feb 2004 15:16:43 +0000 Subject: [PATCH] NRI : fixed bug SMESH730. --- src/SALOMEGUI/QAD_Desktop.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2