Salome HOME
Union of validator and filter functionalities.
[modules/shaper.git] / src / PartSet / PartSet_WidgetShapeSelector.cpp
index 5c68a10159daacf2db318642c05626a5ccddb2f3..6dd500d4a9dba30825d4c589fb6a0fd0ab940d2e 100644 (file)
@@ -91,8 +91,10 @@ void PartSet_WidgetShapeSelector::storeAttributeValue()
 void PartSet_WidgetShapeSelector::restoreAttributeValue(const bool theValid)
 {
   ModuleBase_WidgetShapeSelector::restoreAttributeValue(theValid);
-  //if (!theValid)
-  removeExternal();
+  /// this is a temporary code, will be removed when master is merged to this branch
+  /// after merge, the external edge should be removed always, without flag checking
+  if (!theValid)
+    removeExternal();
   /*
   XGUI_ModuleConnector* aConnector = dynamic_cast<XGUI_ModuleConnector*>(myWorkshop);
   XGUI_Workshop* aWorkshop = aConnector->workshop();