Get rid of main pane error when no currentItem
This commit is contained in:
parent
05ebe955d0
commit
0068550410
|
@ -22,13 +22,20 @@ HListView {
|
|||
highlight: Rectangle {
|
||||
id: highlightRectangle
|
||||
y:
|
||||
! currentItem ?
|
||||
0 :
|
||||
|
||||
selectedRoom ?
|
||||
currentItem.y + currentItem.account.height +
|
||||
currentItem.roomList.currentItem.y :
|
||||
|
||||
currentItem.y
|
||||
|
||||
width: mainPaneList.width
|
||||
height:
|
||||
! currentItem ?
|
||||
0 :
|
||||
|
||||
selectedRoom ?
|
||||
currentItem.roomList.currentItem.height :
|
||||
currentItem.account.height
|
||||
|
|
Loading…
Reference in New Issue
Block a user