+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
//#include "XGUI_Constants.h"
#include "XGUI_Tools.h"
#include "XGUI_Workshop.h"
// 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);