Commit 1c90282b authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.Rewriter: setting textModifier to lastCorrectQmlSource

If rewrting fails we have to set back the textModifier

Reviewed-by: Erik Verbruggen
parent 557d5ca6
......@@ -438,6 +438,7 @@ void RewriterView::enterErrorState(const QString &errorMessage)
void RewriterView::resetToLastCorrectQml()
ModelAmender differenceHandler(;
m_textToModelMerger->load(lastCorrectQmlSource.toUtf8(), differenceHandler);
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