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

QmlDesigner.Rewriter: bug fix



Do not show warnings if recovering from an error.

Change-Id: I748a3f7ae63eb593ddeaa5de2ebf7264a456ac7d
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 3eba7e44
......@@ -802,7 +802,7 @@ bool TextToModelMerger::load(const QString &data, DifferenceHandler &differenceH
return false;
}
if (!warnings.isEmpty() && differenceHandler.isValidator()) {
if (!warnings.isEmpty() && differenceHandler.isValidator() && !m_rewriterView->inErrorState()) {
QString title = QCoreApplication::translate("QmlDesigner::TextToModelMerger", "This .qml file contains features "
"which are not supported by Qt Quick Designer");
......
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