Commit 0531e800 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.visualEditor: avoid crash

parent adcf6a57
......@@ -155,6 +155,9 @@ void DragTool::createQmlItemNode(const ItemLibraryInfo &itemLibraryRepresentatio
void DragTool::createQmlItemNodeFromImage(const QString &imageName, QmlItemNode parentNode, QPointF scenePos)
if (!parentNode.isValid())
MetaInfo metaInfo = MetaInfo::global();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment