]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Merge from V6_4_BR 15/12/2011
authorvsr <vsr@opencascade.com>
Thu, 15 Dec 2011 11:03:42 +0000 (11:03 +0000)
committervsr <vsr@opencascade.com>
Thu, 15 Dec 2011 11:03:42 +0000 (11:03 +0000)
src/LightApp/LightApp_Application.cxx
src/STD/STD_TabDesktop.cxx

index bf2a0e81a3517c7c2d5e167440b6eadb2d1e115c..394546a01606733308a742839f90d5858a5b9810 100644 (file)
@@ -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;
 
index 780359e029ac9dd943f63dc53f32238e76bc3122..dfb6ac1f4df9180d9146092dca3fde40a9a08d7d 100644 (file)
@@ -58,7 +58,7 @@ myWorkstackAction( 0 )
 
   myWorkstack->setAccel( QtxWorkstack::SplitVertical,   Qt::ALT + Qt::SHIFT + Qt::Key_V );
   myWorkstack->setAccel( QtxWorkstack::SplitHorizontal, Qt::ALT + Qt::SHIFT + Qt::Key_H );
-  myWorkstack->setAccel( QtxWorkstack::Close,           Qt::CTRL + Qt::Key_F4 );
+  //myWorkstack->setAccel( QtxWorkstack::Close,           Qt::CTRL + Qt::Key_F4 );
 
   SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
   if ( resMgr ) {