forked from qt-creator/qt-creator
QmlDesigner: crash fix on shutdown
Change-Id: I6e20a99189c81fcb8ec0b0474a219ac1056731bc Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
committed by
Thomas Hartmann
parent
34b966c21d
commit
cdbdde7d37
@@ -47,7 +47,8 @@ void MoveTool::clear()
|
|||||||
m_contentNotEditableIndicator.clear();
|
m_contentNotEditableIndicator.clear();
|
||||||
|
|
||||||
AbstractFormEditorTool::clear();
|
AbstractFormEditorTool::clear();
|
||||||
view()->formEditorWidget()->graphicsView()->viewport()->unsetCursor();
|
if (view()->formEditorWidget()->graphicsView())
|
||||||
|
view()->formEditorWidget()->graphicsView()->viewport()->unsetCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveTool::start()
|
void MoveTool::start()
|
||||||
|
Reference in New Issue
Block a user