From: vsv Date: Thu, 9 Mar 2017 13:07:44 +0000 (+0300) Subject: Issue #1950: Do not update a table on restore field data X-Git-Tag: V_2.7.0~242^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1caed05c1bf196f3ff1f5aa78206a0dfee540a4;p=modules%2Fshaper.git Issue #1950: Do not update a table on restore field data --- diff --git a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp index 59a2dc16b..a34c6e621 100644 --- a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp +++ b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp @@ -499,7 +499,9 @@ bool CollectionPlugin_WidgetField::restoreValueCustom() std::string aTypeStr = aSelList->selectionType(); if (aTypeStr == "") return false; // The attribute is not initialized + isBlocked = myShapeTypeCombo->blockSignals(true); myShapeTypeCombo->setCurrentIndex(getSelectionType(aTypeStr)); + myShapeTypeCombo->blockSignals(isBlocked); // Get number of components AttributeStringArrayPtr aStringsAttr =