aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-22 08:38:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-22 08:42:28 -0700
commit429fcdb3448ba070826ad36f0ff1f47563b6f58d (patch)
tree15e16a1fd382849f7466cefa3a773af6bd8774ea /qt-ui/undocommands.h
parent31b8dffbb166ca04e4b9c2e1717ab613b26261b7 (diff)
downloadsubsurface-429fcdb3448ba070826ad36f0ff1f47563b6f58d.tar.gz
When remembering the selection, don't try to be too smart with trips
We assumed that a trip was selected when all of its dives were selected instead of just remembering if the trip itself was selected. I'm sure there was a reason for that but I cannot think of any. But a side effect is that if you have a trip with only one dive in it and have that one dive selected and edit it, after saving your changes you end up on the trip (which is now also selected) and are no longer on the dive. And that seems quite wrong. The new code simply remembers that the trip was selected. And selects it again if it was. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/undocommands.h')
0 files changed, 0 insertions, 0 deletions