From 18c85046d1e0c880f41af326fd43e5f008096452 Mon Sep 17 00:00:00 2001 From: Iktwo Sh Date: Sat, 4 Oct 2014 17:38:32 -0700 Subject: [PATCH] If no items in StackView let Android accept the event --- qml/main.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qml/main.qml b/qml/main.qml index 2e35837..9ade852 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -85,6 +85,8 @@ ApplicationWindow { Keys.onBackPressed: { if (stackView.depth > 1) stackView.pop() + else + event.accepted = false } }