diff --git a/src/Mod/TechDraw/App/DrawViewSection.cpp b/src/Mod/TechDraw/App/DrawViewSection.cpp index 7e92ee8ab3..f29486b417 100644 --- a/src/Mod/TechDraw/App/DrawViewSection.cpp +++ b/src/Mod/TechDraw/App/DrawViewSection.cpp @@ -319,7 +319,7 @@ void DrawViewSection::onChanged(const App::Property* prop) else if (prop == &BaseView) { // if the BaseView is a Section, then the option of using UsePreviousCut is // valid. - if (BaseView.getValue()->getTypeId().isDerivedFrom( + if (BaseView.getValue() && BaseView.getValue()->getTypeId().isDerivedFrom( TechDraw::DrawViewSection::getClassTypeId())) { UsePreviousCut.setStatus(App::Property::ReadOnly, false); }