Show contextdrawer only in RoomPage
This commit is contained in:
@@ -154,7 +154,7 @@ Kirigami.ApplicationWindow {
|
||||
id: contextDrawer
|
||||
contentItem.implicitWidth: columnWidth
|
||||
edge: Qt.application.layoutDirection == Qt.RightToLeft ? Qt.LeftEdge : Qt.RightEdge
|
||||
modal: !root.wideScreen && pageStack.layers.depth < 2 && pageStack.depth < 3
|
||||
modal: !root.wideScreen || !enabled
|
||||
onEnabledChanged: drawerOpen = enabled && !modal
|
||||
onModalChanged: drawerOpen = !modal
|
||||
enabled: roomManager.hasOpenRoom && pageStack.layers.depth < 2 && pageStack.depth < 3
|
||||
|
||||
Reference in New Issue
Block a user