From 21b36c6cc8a57270dd65bbfa97573fe27d18cf98 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 15 Dec 2011 10:19:03 +0000 Subject: [PATCH] Merge from V6_4_0_BR (V6_4_0 tag) 14/12/2011 --- src/LightApp/LightApp_Application.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index bf2a0e81a..394546a01 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -3831,7 +3831,17 @@ QString LightApp_Application::browseObjects( const QStringList& theEntryList, aSelector->setAutoBlock( false ); SUIT_DataOwnerPtrList aList; - aList.append( new LightApp_DataOwner( anEntry ) ); +#ifndef DISABLE_SALOMEOBJECT + Handle(SALOME_InteractiveObject) aSObj = new SALOME_InteractiveObject + ( anObject->entry().toLatin1().constData(), + anObject->componentDataType().toLatin1().constData(), + anObject->name().toLatin1().constData() ); + LightApp_DataOwner* owner = new LightApp_DataOwner( aSObj ); +#else + LightApp_DataOwner* owner = new LightApp_DataOwner( anEntry ); +#endif + + aList.append( owner ); selectionMgr()->setSelected( aList ); aResult = anEntry; -- 2.39.2