[PD] improve face selection for Pad/Pocket
- this PR extends PR #7191 as described in this forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=70327
This commit is contained in:
@@ -114,6 +114,10 @@ void TaskPocketParameters::onModeChanged(int index)
|
||||
pcPocket->Type.setValue("UpToFace");
|
||||
pcPocket->Length.setValue(0.0);
|
||||
ui->lengthEdit->setValue(0.0);
|
||||
if (ui->lineFaceName->text().isEmpty()) {
|
||||
ui->buttonFace->setChecked(true);
|
||||
handleLineFaceName(); // sets placeholder text
|
||||
}
|
||||
break;
|
||||
case Modes::TwoDimensions:
|
||||
oldLength = pcPocket->Length.getValue();
|
||||
|
||||
Reference in New Issue
Block a user