diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-29 06:47:27 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-29 07:50:45 -0800 |
commit | 0eae59bcd29ba1242e26e8e0c4f52c12f790e521 (patch) | |
tree | e9a3fc39ab2e49b81e03123ec9263ae6dd89ee6a /qt-mobile/qml/DiveList.qml | |
parent | 9f7ecbb53eabe4028f44ac420cd176bf8c76421e (diff) | |
download | subsurface-0eae59bcd29ba1242e26e8e0c4f52c12f790e521.tar.gz |
QML UI: introduce "add" state and correctly clean up when canceled
Adding a dive is just like editing it, except that canceling the operation
has different consequences. Instead of trying to figure this out by some
inference on other state, let's just make it explicit and then clean up
after ourselves if the user canceled a manual dive add.
This also switches to use the properties that we defined in order for the
main menu to be able to setup these values. Makes the code easier to read
and is more consistent.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
0 files changed, 0 insertions, 0 deletions