diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index 2ecb0fa3b2..06b3f48258 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -334,6 +334,9 @@ static QList<QByteArray> prepareNonMcuProperties() bool PropertyEditorValue::isAvailable() const { + if (!m_modelNode.isValid()) + return true; + const QList<QByteArray> nonMcuProperties = prepareNonMcuProperties(); const QByteArray fontPrefix = {"font"}; |