Salome HOME
Issue #2614: Implement point 2: optimization of selection synchronization
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_WidgetField.cpp
index e7e400d37c13971ad91b57aa62f35f78fc2ea9d5..7dc92ee851bacee0e90e6a88e22f256b5afb5d5d 100644 (file)
@@ -499,7 +499,6 @@ bool CollectionPlugin_WidgetField::storeValueCustom()
       }
     }
   }
-  updateObject(myFeature);
   return true;
 }
 
@@ -968,7 +967,7 @@ void CollectionPlugin_WidgetField::onTableEdited(int theRow, int theCol)
 //**********************************************************************************
 void CollectionPlugin_WidgetField::onShapeTypeChanged(int theType)
 {
-  activateSelectionAndFilters(theType == 5? false:true);
+  updateSelectionModesAndFilters(theType == 5? false:true);
 
   AttributeSelectionListPtr aSelList =
     myFeature->data()->selectionList(CollectionPlugin_Field::SELECTED_ID());