subsurface/qt-mobile
Dirk Hohndel 0eae59bcd2 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>
2016-01-29 07:50:45 -08:00
..
qml QML UI: introduce "add" state and correctly clean up when canceled 2016-01-29 07:50:45 -08:00
qmlmanager.cpp Add helper to remove dive from model 2016-01-29 07:50:38 -08:00
qmlmanager.h Add helper to remove dive from model 2016-01-29 07:50:38 -08:00
qmlprofile.cpp Avoid uninitialized memory access 2016-01-28 09:02:20 -08:00
qmlprofile.h try to fix profile scaling 2016-01-13 16:27:41 -08:00