QmlDesigner: Fix 'qml activeDragSuffix is not defined' warning

Change-Id: If3fbc088ea12a32f25e6ac7010dede2be4c49ce4
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2024-06-04 11:52:51 +03:00
parent 59ceee6d5c
commit 6d74dbb95d

View File

@@ -143,7 +143,7 @@ Row {
property ListModel listModel: ListModel {}
hasActiveDrag: activeDragSuffix !== "" && root.filter.includes(activeDragSuffix)
hasActiveDrag: typeof(activeDragSuffix) !== "undefined" && activeDragSuffix !== "" && root.filter.includes(activeDragSuffix)
implicitWidth: StudioTheme.Values.singleControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
width: implicitWidth