aboutsummaryrefslogtreecommitdiffstats
path: root/core/windowtitleupdate.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-29 20:30:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-29 21:38:48 -0700
commit156e0530500ff8e21a0ae2245aabbd3057fbe1d6 (patch)
tree03c18d3538685d26319ea836aad744d5959d9f43 /core/windowtitleupdate.h
parent2d87a657d248c1c6d4dd6a805bbf90c98589798a (diff)
downloadsubsurface-156e0530500ff8e21a0ae2245aabbd3057fbe1d6.tar.gz
Dive trips: don't crash on repeated trip-removal
In the UI it is possible to remove a dive from a trip twice, which leads to a crash, because trip is NULL (obviously). Instead of doing a proper fix (don't show the "remove from trip" entry in the first place), ignore dives without a trip, since a rewrite of the undo-code is planned for the medium future anyway. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/windowtitleupdate.h')
0 files changed, 0 insertions, 0 deletions