From 259f1059ef3d20892a6e04f68d717cc3bdd01d0b Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 4 Oct 2018 13:30:59 +0300 Subject: [PATCH] Issue #2590: Update feature on selection type change --- src/CollectionPlugin/CollectionPlugin_WidgetField.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp index 7dc92ee85..235a45d39 100644 --- a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp +++ b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp @@ -982,6 +982,7 @@ void CollectionPlugin_WidgetField::onShapeTypeChanged(int theType) aSelList->clear(); AttributeTablesPtr aTablesAttr = myFeature->data()->tables(CollectionPlugin_Field::VALUES_ID()); aTablesAttr->setSize(1, myNbComponentsSpn->value(), myDataTblList.size()); + updateObject(myFeature); emit valuesChanged(); } -- 2.39.2