From 16a05ec210ff00b4be941c30bccfba740a665c29 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 25 Nov 2016 16:13:21 +0300 Subject: [PATCH] Fix for Fields GUI --- src/CollectionPlugin/CollectionPlugin_WidgetField.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp index faf974a2f..7a39b5f7e 100644 --- a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp +++ b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp @@ -504,7 +504,9 @@ bool CollectionPlugin_WidgetField::restoreValueCustom() //myStepWgt->setCurrentIndex(myStepSlider->value() - 1); // Get Type of the field values + isBlocked = myFieldTypeCombo->blockSignals(true); myFieldTypeCombo->setCurrentIndex(aTablesAttr->type()); + myFieldTypeCombo->blockSignals(isBlocked); AttributeIntArrayPtr aStampsAttr = aData->intArray(CollectionPlugin_Field::STAMPS_ID()); // Fill data table -- 2.39.2