Fix handle visible on layers

This commit is contained in:
Carl Schwan
2020-11-22 12:30:59 +01:00
parent 7a30c4ba8e
commit c17441cc25

View File

@@ -99,7 +99,7 @@ Kirigami.ApplicationWindow {
id: contextDrawer
enabled: roomManager.hasOpenRoom
room: roomManager.currentRoom
handleVisible: enabled && (pageStack.currentItem instanceof RoomPage)
handleVisible: enabled && (pageStack.currentItem instanceof RoomPage) && pageStack.layers.depth < 2
}
globalDrawer: Kirigami.GlobalDrawer {