]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/CollectionPlugin/CollectionPlugin_WidgetField.cpp
Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / 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 =