]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for Fields GUI
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 25 Nov 2016 13:13:21 +0000 (16:13 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 25 Nov 2016 13:13:34 +0000 (16:13 +0300)
src/CollectionPlugin/CollectionPlugin_WidgetField.cpp

index faf974a2fb4ae6d37ed6de47f0991d1d8f5b709c..7a39b5f7e271fd161bb0bdf35534bac202bb640b 100644 (file)
@@ -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