PartDesign: fix hole clearance not appearing in the taskpanel when switching type

This commit is contained in:
Alfredo Monclus
2025-12-19 07:55:02 -03:00
committed by Kacper Donat
parent 35bcb14d89
commit 111c6df9b0

View File

@@ -290,6 +290,9 @@ void TaskHoleParameters::holeTypeChanged(int index)
pcHole->Threaded.setValue(isThreaded);
pcHole->ModelThread.setValue(isModeled);
ui->ThreadFit->setHidden(isThreaded);
ui->labelThreadClearance->setHidden(isThreaded);
ui->ThreadGroupBox->setVisible(isThreaded);
// update view not active if modeling threads
// this will also ensure that the feature is recomputed.