Commit 849ec0cc authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

explore, if escape is pressed and description visible, we hide the description...

explore, if escape is pressed and description visible, we hide the description else we go back to menu
parent e30600a5
......@@ -81,6 +81,10 @@ ActivityBase {
onStart: { Activity.start(items, dataset) }
onStop: { Activity.stop() }
Keys.onEscapePressed: {
descriptionPanel.visible ? descriptionPanel.visible = false : home()
}
Repeater {
id: dataModel
model: dataset.tab.length
......
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