[PD] TaskExtrudeParameters: simplify code

to avoid several time the same translatable string
This commit is contained in:
Uwe
2022-07-20 03:16:56 +02:00
parent 76f5c32574
commit 04e6414458
4 changed files with 15 additions and 9 deletions

View File

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