diff options
author | Henning Gruendl <henning.gruendl@qt.io> | 2022-06-08 14:58:28 +0200 |
---|---|---|
committer | Henning Gründl <henning.gruendl@qt.io> | 2022-06-08 14:07:53 +0000 |
commit | 2e5892fbf0db0397b77556d3145faa68f8be11a2 (patch) | |
tree | e2857c0a4db3548c2add99ae1083d7f2e9dcc838 | |
parent | 6d1478e1db134d37935b1c65adb226edf60e9f6e (diff) |
QmlDesigner: Fix node component missing state prop
Fix node components not showing the states property in the property
editor. This is caused by querying majorVersion instead of
majorQtQuickVersion.
Task-number: QDS-6981
Change-Id: I0a87d921ce985f7fd58b92f526531c49622bb235
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick3D/Object3DPane.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick3D/Object3DPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick3D/Object3DPane.qml index 7cded878a1..1a17b82808 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick3D/Object3DPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick3D/Object3DPane.qml @@ -33,7 +33,7 @@ PropertyEditorPane { id: itemPane ComponentSection { - showState: majorVersion >= 6 + showState: majorQtQuickVersion >= 6 } Column { |