From: vsv Date: Thu, 24 Nov 2016 17:23:00 +0000 (+0300) Subject: Debug for fields X-Git-Tag: V_2.6.0~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c64ac7a45d5276a777b52821245f405f5108fc0f;p=modules%2Fshaper.git Debug for fields --- diff --git a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp index 1c6ee6d47..fcd7b89c2 100644 --- a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp +++ b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp @@ -737,9 +737,9 @@ void CollectionPlugin_WidgetField::onSelectionChanged() QList aSelected = myWorkshop->selection()->getSelected(ModuleBase_ISelection::AllControls); - //clearData(); AttributeSelectionListPtr aSelList = myFeature->data()->selectionList(CollectionPlugin_Field::SELECTED_ID()); + aSelList->setSelectionType(getSelectionType(myShapeTypeCombo->currentIndex())); aSelList->clear(); ResultPtr aResult; diff --git a/src/Config/dataModel.xml b/src/Config/dataModel.xml index 783b7b0e1..8a73f9247 100644 --- a/src/Config/dataModel.xml +++ b/src/Config/dataModel.xml @@ -10,6 +10,7 @@ +