aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-02-21 16:13:59 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2018-02-23 15:49:39 +0000
commit0c3657b1620606a82bfda039f35d70d9efd68753 (patch)
tree1827b7992085fbda4dccd82276213b705f2b02ab
parentd4888e5c9e6338804617f6206722332311419753 (diff)
UIScreen: Keep the back button above all other items
To ensure it's always accessible. Fixes bug where the back button of the "i18n Demo" application wouldn't work. Change-Id: I25a124ac8447e8f4795d0c44c8c7b2a7ad219ea8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r--imports/shared/utils/UIScreen.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/imports/shared/utils/UIScreen.qml b/imports/shared/utils/UIScreen.qml
index 57b4561..6ef7e55 100644
--- a/imports/shared/utils/UIScreen.qml
+++ b/imports/shared/utils/UIScreen.qml
@@ -105,6 +105,7 @@ Page {
visible: !root.hideBack
symbol: 'back'
onClicked: root.backScreen()
+ z: 100 // keep it above all other items added to the Page
}
}