[Part] remove more superfluous nullptr checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user