FreeCAD: master a6e29e32

Author Committer Branch Timestamp Parent
Andreas Brinner Andreas Brinner master 2020-12-09 10:21:59 master 065f3faf
Changeset Check return value of getMDIViewPage() a second time

When exporting a hidden TechDraw::Page with exportPageAs[Pdf|SVG] a
Segmentation Fault occured.

The return value of getMDIViewPage() was only checked for the first call, but
not for the second call. showMDIViewPage() silently returns, when the
TechDraw::Page is hidden and does not load the page.
mod - src/Mod/TechDraw/Gui/AppTechDrawGuiPy.cpp Diff File