Repair broken Add Dive menu item

Lubomir's commit aec904b612 broke the Add
Dive menu item:  The Edit Dive dialogue didn't show up after the initial
dialogue.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2012-11-04 20:35:59 +01:00 committed by Dirk Hohndel
parent 45fce18fb2
commit 37e3ade2e2
3 changed files with 6 additions and 5 deletions

View file

@ -1340,7 +1340,7 @@ static void row_activated_cb(GtkTreeView *tree_view,
collapse_expand(tree_view, path);
return;
}
edit_dive_info(get_dive(index));
edit_dive_info(get_dive(index), FALSE);
}
void add_dive_cb(GtkWidget *menuitem, gpointer data)