diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-28 05:03:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-28 10:12:33 -0700 |
commit | f8a773b37f408f309d92cd7b90845a81e0d642c3 (patch) | |
tree | 09f8f1c918944f7c1044530f1196758878dad023 /qt-ui/diveplanner.cpp | |
parent | 424d38e0c122308c068b3b67d51ad35bd5dcc403 (diff) | |
download | subsurface-f8a773b37f408f309d92cd7b90845a81e0d642c3.tar.gz |
Dive planner: remember the selection before new dives get handled
On an empty dive list we would remember the new dive (which gets
auto-selected since it's the only dive) and then crash when we try to
restore that selection after cancel (in which case that new dive is gone).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
0 files changed, 0 insertions, 0 deletions