summaryrefslogtreecommitdiffstats
path: root/equipment.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-20 06:27:04 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-20 06:27:04 -0700
commit5322b4aac11d2a41247a5a86161c1eb7b7983bc2 (patch)
treeba993d2964b8b68bfa45ea0684744981684db211 /equipment.c
parent972669d6363c163ed6d3b737cbd6b1bd534f3d7b (diff)
downloadsubsurface-5322b4aac11d2a41247a5a86161c1eb7b7983bc2.tar.gz
Avoid changing selection status when collapsing/expanding groups
This tries to avoid the problem mentioned in commit972669d6363c ("Rework dive selection logic"), where a selection of dives hidden by collapsing the group gets forgotten about by gtk. It does so by always marking the group selected when it is collapsed with any selected children. We also avoid selecting new children when a group is selected that already has at least *some* children selected already. This way we do minimal damage to existing selections when working with dive group selections. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'equipment.c')
0 files changed, 0 insertions, 0 deletions