Update formula value if node was changed.
--HG-- branch : feature
This commit is contained in:
parent
19400f5b83
commit
ede59d003f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user