re-add some nullptr

to be safe since their removal within assert() or bools might have some impact I don't know
This commit is contained in:
Uwe
2022-07-18 02:32:36 +02:00
parent 8b99abd81b
commit 24468b59ad
8 changed files with 23 additions and 24 deletions

View File

@@ -410,7 +410,7 @@ void ProfileBased::onChanged(const App::Property* prop)
{
if (prop == &Profile) {
// if attached to a sketch then mark it as read-only
this->Placement.setStatus(App::Property::ReadOnly, Profile.getValue());
this->Placement.setStatus(App::Property::ReadOnly, Profile.getValue() != nullptr);
}
FeatureAddSub::onChanged(prop);