]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Merge branch 'master' of newgeom:newgeom
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 25 Apr 2014 13:41:47 +0000 (17:41 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 25 Apr 2014 13:41:47 +0000 (17:41 +0400)
Conflicts:
src/XGUI/XGUI_Workshop.cpp

1  2 
src/PartSet/PartSet_Module.cpp
src/PartSet/PartSet_Module.h
src/XGUI/XGUI_Workshop.cpp

Simple merge
Simple merge
index 1835a13f096d9fe0f06dce2c4f425905ebd6a412,cbc3ce14610a781abcc743f987fb50b11f665ba3..cbd6239cbb6642f88e114af2820c6fe2017cadd6
@@@ -216,13 -196,18 +216,20 @@@ void XGUI_Workshop::onOperationStarted(
  //******************************************************
  void XGUI_Workshop::onOperationStopped(ModuleBase_Operation* theOperation)
  {
-   hidePropertyPanel();
-   updateCommandStatus();
+   ModuleBase_PropPanelOperation* aOperation =
+         (ModuleBase_PropPanelOperation*)(myOperationMgr->currentOperation());
+   if(aOperation->xmlRepresentation().isEmpty()) { //!< No need for property panel
+     updateCommandStatus();
+   } else {
 -    myMainWindow->hidePropertyPanel();
++    hidePropertyPanel();
+     updateCommandStatus();
  
 +  if (myMainWindow) {
      XGUI_MainMenu* aMenu = myMainWindow->menuObject();
      aMenu->restoreCommandState();
    }
++  }
  }
  
  /*