From c5ed3be03130a8a9aa69e589d018954a9700c2cc Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 13 Dec 2019 18:01:46 -0400 Subject: [PATCH] RoomPane flickable: ignore unimplemented views --- src/qml/Chat/RoomPane/RoomPane.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/qml/Chat/RoomPane/RoomPane.qml b/src/qml/Chat/RoomPane/RoomPane.qml index 28e702a0..5c5527fa 100644 --- a/src/qml/Chat/RoomPane/RoomPane.qml +++ b/src/qml/Chat/RoomPane/RoomPane.qml @@ -49,7 +49,9 @@ HDrawer { ) autoExclusive: true - checked: swipeView.currentIndex === index + checked: swipeView.currentIndex === 0 && index === 0 || + swipeView.currentIndex === 1 && index === 4 + enabled: ["members", "settings"].includes(modelData) onClicked: swipeView.currentIndex = index @@ -69,9 +71,6 @@ HDrawer { Layout.fillHeight: true MemberView {} - Item {} - Item {} - Item {} SettingsView { fillAvailableHeight: true } } }