diff --git a/src/plugins/qmldesigner/components/propertyeditor/itemfiltermodel.cpp b/src/plugins/qmldesigner/components/propertyeditor/itemfiltermodel.cpp index fab8cde66eb..8e65559fce1 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/itemfiltermodel.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/itemfiltermodel.cpp @@ -92,7 +92,7 @@ QVariant ItemFilterModel::modelNodeBackend() const void ItemFilterModel::setupModel() { - if (!m_modelNode.isValid()) + if (!m_modelNode.isValid() || !m_modelNode.view()->isAttached()) return; m_lock = true;