summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-10-23 17:42:27 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-24 10:31:56 -0700
commitaec904b612cbee57f8bb5c3289a120b69c9ade24 (patch)
tree99928513ad14848f479595498078533be11e8c5d /dive.h
parent6ea59895ad474c375a6cafaaa2baff266debf617 (diff)
downloadsubsurface-aec904b612cbee57f8bb5c3289a120b69c9ade24.tar.gz
info.c: Make sure we only edit when there is dive selection
1) info.c: always check for "amount_selected > 0" before calling edit_multi_dive_info(). 2) populate_popup_cb() should only add the "Edit" and "Delete" items if there are dives are selected 3) in info_menu_delete_cb() we clear the selection, therefore we need to set "amount_selected" to 0. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions