[PATCH] info.c: Make sure we only edit when there is dive selection

Lubomir I. Ivanov neolit123 at gmail.com
Tue Oct 23 08:45:19 PDT 2012

On 23 October 2012 18:11, Dirk Hohndel <dirk at hohndel.org> wrote:
> The rest of the patch looks good

i realized there is no confirmation when deleting dives and trips.
this was present when deleting from the "dive info" dialog/window.

just sent a couple of patches for that:
[2/3] removes the delete functionality from info.c
[3/3] adds delete confirmation to divelist.c

there is some overlapping, but [1/3] is still kind of relevant due to
the "edit" fixes.

i have to leave in a minute, but if you don't like these i can try
fixing tomorrow.

More information about the subsurface mailing list