]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1194: Visibility of object browser under Salome has to be managed only in...
authorvsv <vitaly.smetannikov@opencascade.com>
Sat, 26 Dec 2015 15:37:09 +0000 (18:37 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Sat, 26 Dec 2015 15:37:09 +0000 (18:37 +0300)
src/XGUI/XGUI_Workshop.cpp

index 60fe451c633c6b168decae34a3bbc01adfe89891..110d0bcdce48f39644af12cad0f540189bddc889 100755 (executable)
@@ -1100,13 +1100,15 @@ void XGUI_Workshop::hidePropertyPanel()
 //******************************************************
 void XGUI_Workshop::showObjectBrowser()
 {
-  myObjectBrowser->parentWidget()->show();
+  if (!isSalomeMode())
+    myObjectBrowser->parentWidget()->show();
 }
 
 //******************************************************
 void XGUI_Workshop::hideObjectBrowser()
 {
-  myObjectBrowser->parentWidget()->hide();
+  if (!isSalomeMode())
+    myObjectBrowser->parentWidget()->hide();
 }
 
 //******************************************************