diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-30 20:48:50 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-30 20:49:00 -0500 |
commit | cc2b815a4d86f5373c32351a20edaa9dff797921 (patch) | |
tree | ec69864b046c645ee678b1b5d79cedd81496d4b5 /subsurface-core/devicedetails.cpp | |
parent | 6a3e761d8faf5be3bdc8a5feb8f06b69f9bdeaaf (diff) | |
download | subsurface-cc2b815a4d86f5373c32351a20edaa9dff797921.tar.gz |
QML UI: simplify the code to cancel edit / add
This way we have one function that correctly ends both modes.
As a positive side effect this fixes a bug where one could exit the
add mode by tapping Dive list in the main menu which would not delete
the partially created dive.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/devicedetails.cpp')
0 files changed, 0 insertions, 0 deletions