forked from qt-creator/qt-creator
QmlDesigner: Fix currentItem undefined
Change-Id: I90abc31a9a89834ac6ff5addba407feafa25310d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
c9c2fef437
commit
1960d8f2cf
@@ -140,7 +140,7 @@ StudioControls.TextField {
|
||||
+ 2 : 0)
|
||||
height: StudioTheme.Values.height - 2 * StudioTheme.Values.border
|
||||
color: StudioTheme.Values.themeInteraction
|
||||
y: listView.currentItem.y
|
||||
y: listView.currentItem?.y ?? 0
|
||||
}
|
||||
highlightFollowsCurrentItem: false
|
||||
}
|
||||
|
Reference in New Issue
Block a user