From c64ac7a45d5276a777b52821245f405f5108fc0f Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 24 Nov 2016 20:23:00 +0300 Subject: [PATCH] Debug for fields --- src/CollectionPlugin/CollectionPlugin_WidgetField.cpp | 2 +- src/Config/dataModel.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@ + -- 2.39.2