[Part] remove more superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 01:36:27 +02:00
parent dfecb337e7
commit 0ff8a02105
7 changed files with 10 additions and 10 deletions

View File

@@ -334,7 +334,7 @@ DlgPrimitives::DlgPrimitives(QWidget* parent, Part::Primitive* feature)
ui->widgetStack2->setCurrentIndex(index);
// if existing, the primitive type can not be changed by the user
ui->PrimitiveTypeCB->setDisabled(feature != nullptr);
ui->PrimitiveTypeCB->setDisabled(feature);
// ToDo: connect signal if there is a preview of primitives available
// read values from the properties