summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:42:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:42:38 -0700
commit6a23e0ef664d081ec9351603c76af8c46edd4e89 (patch)
tree63f7729315127b563c542b33599d64023d01737b /mobile-widgets/qml
parentf21b36d9ba15bb36b4b3cda49498cbf95606c2ae (diff)
downloadsubsurface-6a23e0ef664d081ec9351603c76af8c46edd4e89.tar.gz
QML UI: save with unchanged credentials returns to dive list
If the user is on the credentials page, doesn't change the credentials but simply taps on save, they now get back to the dive list. Fixes #1047 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 2bc62dbe3..36c225ef8 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -16,7 +16,7 @@ Kirigami.ApplicationWindow {
header.preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1)
header.maximumHeight: Kirigami.Units.gridUnit * 2
property bool fullscreen: true
- property int oldStatus: -1
+ property alias oldStatus: manager.oldStatus
property alias accessingCloud: manager.accessingCloud
property QtObject notification: null
property bool showingDiveList: false