Commit c4babe8c authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: crash fix

The assert is wrong. We check the currentModel from QmlDesignerPlugin::hideDesigner()
and it can be null in case of a .ui/.qbs file.

Change-Id: Ifffa168f81bade757cc8d800150e4411c09915e7
Reviewed-by: default avatarMarco Bubke <>
parent 5bcce3d1
......@@ -83,8 +83,6 @@ DesignDocument::~DesignDocument()
Model *DesignDocument::currentModel() const
if (m_inFileComponentModel)
Markdown is supported
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