[PD] bind expression to pad offset

It is strangely not possible to use an expression for a pad offset, but this works fine, see the forum for an example.

Thus allow this.
This commit is contained in:
donovaly
2020-08-08 04:07:12 +02:00
committed by wwmayer
parent 40bbe3515c
commit 81a98a4476

View File

@@ -96,6 +96,7 @@ TaskPadParameters::TaskPadParameters(ViewProviderPad *PadView, QWidget *parent,
// Bind input fields to properties
ui->lengthEdit->bind(pcPad->Length);
ui->lengthEdit2->bind(pcPad->Length2);
ui->offsetEdit->bind(pcPad->Offset);
ui->checkBoxMidplane->setChecked(midplane);
// According to bug #0000521 the reversed option
// shouldn't be de-activated if the pad has a support face