Commit ec96a9b7 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.Model: Remove wrong statement

parent 4655accd
...@@ -147,7 +147,6 @@ void ModelPrivate::notifyImportAdded(const Import &import) ...@@ -147,7 +147,6 @@ void ModelPrivate::notifyImportAdded(const Import &import)
resetModel = true; resetModel = true;
} }
if (rewriterView())
foreach (const QWeakPointer<AbstractView> &view, m_viewList) foreach (const QWeakPointer<AbstractView> &view, m_viewList)
view->importAdded(import); view->importAdded(import);
......
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