Commit cf187e55 authored by Alberto Mardegan's avatar Alberto Mardegan
Browse files

ViewerPage: close drawer when an action is chosen

parent f1fe9cad
......@@ -25,12 +25,16 @@ Page {
}
Drawer {
id: drawer
width: root.width
edge: Qt.BottomEdge
OsdRow {
onToggleFullScreenRequested: root.toggleFullScreen()
onMoveViewRequested: root.enableMoveViewMode()
onToggleFullScreenRequested: {
drawer.close();
root.toggleFullScreen()
}
onMoveViewRequested: { drawer.close(); root.enableMoveViewMode() }
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment