[PATCH] Select all dives in a trip when said trip is expanded and clicked

Linus Torvalds torvalds at linux-foundation.org
Mon Feb 18 14:46:42 PST 2013

On Mon, Feb 18, 2013 at 11:02 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
> Basically what happens is that Gtk shows only the trip as selected, not
> the children. Our notion of how many dives are selected (that you can
> see in the stats notebook which shows you amount_selected) stays the
> same, yet our notion of the selected_dive goes away (profile goes
> blank).

No, not only does the selected_dive go away, we also have zero selected dives.

It's just the statistics window that doesn't update. There's probably
some logic along the lines of "nothing selected, so don't bother
updating the statistics". So the "Stats" notebook keeps showing the
old selection state.

I'll play around with this some.


More information about the subsurface mailing list