Remove unused cylinders from dropdown

Adolph Weidanz weidanz.adolph at gmail.com
Thu Dec 17 03:39:15 PST 2020


Thanks, I've gone through and reduced some of the non-used tanks and
it works great. Right now I only use one log book (for my rebreather
diving), but I do have other logs (not with me or I'd have tested it).
If I switch logs do the tanks stay persistent, for example I only use
a 12l in this OC log, would it show up in the Rebreather log when I
change back to it?

Going through the cylinder list, it is amazing how inconsistent I have been :)

Thanks again.

On Fri, Dec 11, 2020 at 6:13 PM Berthold Stoeger via subsurface
<subsurface at subsurface-divelog.org> wrote:
>
> On Freitag, 11. Dezember 2020 16:44:18 CET Berthold Stoeger via subsurface
> wrote:
> > On Freitag, 11. Dezember 2020 15:08:47 CET Adolph Weidanz via subsurface
> >
> > wrote:
> > > Is there a way to remove the unused cylinders from the dropdown? There
> > > are a lot of them there and I will never use most of them and these
> > > old eyes have a time trying to discern which is which.
> >
> > Sadly, as far as I can tell, the list is generated statically on application
> > startup. I reckon that this should be optional. I'll try to come up with
> > something over the weekend. Please remind me, should I forget.
>
> I quickly cobbled something together:
> https://github.com/subsurface/subsurface/pull/3101
> Beware: This is only lightly tested.
>
> I'm not sure if you know how to build from source or which platform you're
> using.
>
> Berthold
>
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list