diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index 2ecb0fa3b21..06b3f482589 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -334,6 +334,9 @@ static QList prepareNonMcuProperties() bool PropertyEditorValue::isAvailable() const { + if (!m_modelNode.isValid()) + return true; + const QList nonMcuProperties = prepareNonMcuProperties(); const QByteArray fontPrefix = {"font"};