]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Workshop.cpp
Salome HOME
Issue #273: Add copyright string
[modules/shaper.git] / src / XGUI / XGUI_Workshop.cpp
index b77c27bbdf8fcf4660233f91d6d9927a7948e063..58d0f8844e07fc20aee6a044b387a58595ab89b5 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 //#include "XGUI_Constants.h"
 #include "XGUI_Tools.h"
 #include "XGUI_Workshop.h"
@@ -593,8 +595,7 @@ void XGUI_Workshop::onOperationStarted()
     // Do not activate widgets by default if the current operation is editing operation
     // Because we don't know which widget is going to be edited. 
     if ((!aOperation->isEditOperation())) {
-      if (!aOperation->activateByPreselection())
-        myPropertyPanel->activateNextWidget(NULL);
+      aOperation->activateByPreselection();
     }
     // Set final definitions if they are necessary
     myModule->propertyPanelDefined(aOperation);