forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user