aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-11 22:03:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-09 12:41:11 -0700
commitb382445e59c97e93ef53e0e6e378b8ec11f12a27 (patch)
tree8c29fece5ce2cb3aae58b02d70f39e54cfc3d5ac /mobile-widgets/qml/main.qml
parent64ae6d54a7e506051917bddb50424257ccf5c1cf (diff)
downloadsubsurface-b382445e59c97e93ef53e0e6e378b8ec11f12a27.tar.gz
mobile/divelist: rewrite the QML dive list
This isn't perfect yet, but it looks fairly reasonable. This commit was mainly written by Dirk, but includes a few fixes from Berthold which where squashed into this commit as they really should have been part of the initial version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 70c9de9fc..f80061a29 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -55,7 +55,7 @@ Kirigami.ApplicationWindow {
}
function showBusy(msg) {
- if (msg !== undefined)
+ if (msg !== undefined && msg !== "")
showPassiveNotification(msg, 15000) // show for 15 seconds
busy.running = true
}
@@ -282,7 +282,7 @@ Kirigami.ApplicationWindow {
pageStack.pop()
}
diveList.diveListModel = diveModel
- pageStack.push(diveList)
+ showDiveList()
hideBusy()
}
}