Fix app crash.
This commit is contained in:
parent
cb4741acc9
commit
55ba30e785
|
@ -2012,7 +2012,10 @@ void VPMainWindow::SheetPaperSizeChanged()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VMainGraphicsView::NewSceneRect(m_graphicsView->scene(), m_graphicsView);
|
if (m_graphicsView->scene() != nullptr)
|
||||||
|
{
|
||||||
|
VMainGraphicsView::NewSceneRect(m_graphicsView->scene(), m_graphicsView);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user