[TD]fix potential nullptr while restoring

This commit is contained in:
wandererfan
2019-12-29 22:42:13 -05:00
committed by WandererFan
parent ecfcc30fee
commit 6886621008
4 changed files with 18 additions and 1 deletions

View File

@@ -830,6 +830,9 @@ void QGIViewPart::drawSectionLine(TechDraw::DrawViewSection* viewSection, bool b
if (!viewPart) {
return;
}
if (viewSection == nullptr) {
return;
}
if (!viewSection->hasGeometry()) {
return;