Commit fed3e021 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.DocumentManagment: Updating the Qt version when attaching



Updating the Qt version when attaching the rewriter.
When the Qml file was opened first no project might have been
configured, but a valid project was opened later.

Change-Id: Iff59464bfe0d3628a99878d3463c8763087ad4f2
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent dc96abf4
......@@ -275,6 +275,7 @@ void QmlDesignerPlugin::activateAutoSynchronization()
if (!currentDesignDocument()->isDocumentLoaded())
currentDesignDocument()->loadDocument(currentDesignDocument()->plainTextEdit());
currentDesignDocument()->updateActiveQtVersion();
currentDesignDocument()->attachRewriterToModel();
resetModelSelection();
......
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