diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-20 15:31:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-20 15:35:43 -0700 |
commit | 529a72e6b496ef98702570ca944f415c09ac745c (patch) | |
tree | 2153c1b491256f3a93a450b89115349ddd5bc8b1 /gtk-gui.c | |
parent | 7fa039994909cbbfc86d94ddea4a9c8867b0ed6c (diff) | |
download | subsurface-529a72e6b496ef98702570ca944f415c09ac745c.tar.gz |
Only select last dive by default if no other dives are selected
After deleting a dive the dive list is recreated. If there are still dives
selected we should select the last dive as well. If there isn't any dive
selected, then the last dive is as good a default as any, I guess.
Reported-by: "Lubomir I. Ivanov" <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
0 files changed, 0 insertions, 0 deletions