summaryrefslogtreecommitdiffstats
path: root/subsurface-core/devicedetails.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-30 20:48:50 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-30 20:49:00 -0500
commitcc2b815a4d86f5373c32351a20edaa9dff797921 (patch)
treeec69864b046c645ee678b1b5d79cedd81496d4b5 /subsurface-core/devicedetails.cpp
parent6a3e761d8faf5be3bdc8a5feb8f06b69f9bdeaaf (diff)
downloadsubsurface-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