mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
64ae6d54a7
commit
b382445e59
2 changed files with 226 additions and 360 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue