]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1950: Do not update a table on restore field data
authorvsv <vsv@opencascade.com>
Thu, 9 Mar 2017 13:07:44 +0000 (16:07 +0300)
committervsv <vsv@opencascade.com>
Thu, 9 Mar 2017 13:08:00 +0000 (16:08 +0300)
src/CollectionPlugin/CollectionPlugin_WidgetField.cpp

index 59a2dc16b3d8419ae160ae99a68ebbb65aba4002..a34c6e6218f35213e62611ce481a8875e94bfe8d 100644 (file)
@@ -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 =