RoomPane flickable: ignore unimplemented views
This commit is contained in:
parent
c6295225fb
commit
c5ed3be031
|
@ -49,7 +49,9 @@ HDrawer {
|
||||||
)
|
)
|
||||||
|
|
||||||
autoExclusive: true
|
autoExclusive: true
|
||||||
checked: swipeView.currentIndex === index
|
checked: swipeView.currentIndex === 0 && index === 0 ||
|
||||||
|
swipeView.currentIndex === 1 && index === 4
|
||||||
|
|
||||||
enabled: ["members", "settings"].includes(modelData)
|
enabled: ["members", "settings"].includes(modelData)
|
||||||
|
|
||||||
onClicked: swipeView.currentIndex = index
|
onClicked: swipeView.currentIndex = index
|
||||||
|
@ -69,9 +71,6 @@ HDrawer {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
MemberView {}
|
MemberView {}
|
||||||
Item {}
|
|
||||||
Item {}
|
|
||||||
Item {}
|
|
||||||
SettingsView { fillAvailableHeight: true }
|
SettingsView { fillAvailableHeight: true }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user