summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2017-04-11 13:24:05 +0200
committerAleix Pol <[email protected]>2017-04-11 13:24:05 +0200
commit7c93081c7465ef1fa8a47f187bf83de84879949d (patch)
tree699cf59c353c2adfc1453decbf1af878f3d88566
parent650eb5ccbeb56e90580ff01a59cef3d8efac85c9 (diff)
Can't cancel if there's just one page either
-rw-r--r--discover/qml/DiscoverPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/qml/DiscoverPage.qml b/discover/qml/DiscoverPage.qml
index b42ad7a..af9cb1a 100644
--- a/discover/qml/DiscoverPage.qml
+++ b/discover/qml/DiscoverPage.qml
@@ -58,7 +58,7 @@ Kirigami.ScrollablePage
readonly property var sClose: Shortcut {
sequence: StandardKey.Cancel
- enabled: root.isCurrentPage && applicationWindow().pageStack.depth>=1
+ enabled: root.isCurrentPage && applicationWindow().pageStack.depth>1
onActivated: {
applicationWindow().pageStack.goBack()
}