[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:
Uwe
2022-07-17 15:47:09 +02:00
parent 35f75064a0
commit e4dfc42f33
5 changed files with 44 additions and 15 deletions

View File

@@ -104,6 +104,10 @@ void TaskPadParameters::onModeChanged(int index)
break;
case Modes::ToFace:
pcPad->Type.setValue("UpToFace");
if (ui->lineFaceName->text().isEmpty()) {
ui->buttonFace->setChecked(true);
handleLineFaceName(); // sets placeholder text
}
break;
case Modes::TwoDimensions:
pcPad->Type.setValue("TwoLengths");