Commit 96d53225 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: crash fix

Task-number: QTCREATORBUG-8628
Change-Id: Id1e0984794b9ce590cfd5789c1cde6de7dc7bd1f
Reviewed-by: default avatarFriedemann Kleint <>
parent 7a70b4f1
......@@ -347,6 +347,9 @@ static bool isDesignerMode(Core::IMode *mode)
void QmlDesignerPlugin::onCurrentModeChanged(Core::IMode *newMode, Core::IMode *oldMode)
if (!Core::EditorManager::currentEditor())
if (Core::EditorManager::currentEditor()
&& Core::EditorManager::currentEditor()->id() != QmlJSEditor::Constants::C_QMLJSEDITOR_ID)
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