diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/View.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/qml/View.qml b/framework/qml/View.qml index 9001a6b3..0065c206 100644 --- a/framework/qml/View.qml +++ b/framework/qml/View.qml | |||
@@ -76,6 +76,12 @@ FocusScope { | |||
76 | onClicked: decrementCurrentIndex() | 76 | onClicked: decrementCurrentIndex() |
77 | } | 77 | } |
78 | 78 | ||
79 | Keys.onEscapePressed: { | ||
80 | if (currentIndex > 0) { | ||
81 | decrementCurrentIndex() | ||
82 | } | ||
83 | } | ||
84 | |||
79 | RowLayout { | 85 | RowLayout { |
80 | id: content | 86 | id: content |
81 | anchors.fill: parent | 87 | anchors.fill: parent |