Update formula value if node was changed.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-01-25 14:42:51 +02:00
parent 19400f5b83
commit ede59d003f
2 changed files with 0 additions and 9 deletions

View File

@ -286,8 +286,6 @@ void DialogPiecePath::NodeChanged(int index)
ui->comboBoxAngle->setDisabled(true); ui->comboBoxAngle->setDisabled(true);
ui->plainTextEditFormulaWidthBefore->blockSignals(true);
ui->plainTextEditFormulaWidthAfter->blockSignals(true);
ui->comboBoxAngle->blockSignals(true); ui->comboBoxAngle->blockSignals(true);
if (index != -1) if (index != -1)
@ -353,8 +351,6 @@ void DialogPiecePath::NodeChanged(int index)
ui->comboBoxAngle->setCurrentIndex(-1); ui->comboBoxAngle->setCurrentIndex(-1);
} }
ui->plainTextEditFormulaWidthBefore->blockSignals(false);
ui->plainTextEditFormulaWidthAfter->blockSignals(false);
ui->comboBoxAngle->blockSignals(false); ui->comboBoxAngle->blockSignals(false);
} }

View File

@ -603,8 +603,6 @@ void DialogSeamAllowance::NodeChanged(int index)
ui->comboBoxAngle->setDisabled(true); ui->comboBoxAngle->setDisabled(true);
ui->plainTextEditFormulaWidthBefore->blockSignals(true);
ui->plainTextEditFormulaWidthAfter->blockSignals(true);
ui->comboBoxAngle->blockSignals(true); ui->comboBoxAngle->blockSignals(true);
if (index != -1) if (index != -1)
@ -669,9 +667,6 @@ void DialogSeamAllowance::NodeChanged(int index)
ui->plainTextEditFormulaWidthAfter->setPlainText(""); ui->plainTextEditFormulaWidthAfter->setPlainText("");
ui->comboBoxAngle->setCurrentIndex(-1); ui->comboBoxAngle->setCurrentIndex(-1);
} }
ui->plainTextEditFormulaWidthBefore->blockSignals(false);
ui->plainTextEditFormulaWidthAfter->blockSignals(false);
ui->comboBoxAngle->blockSignals(false); ui->comboBoxAngle->blockSignals(false);
} }