Saving individual dives should not change the exiting filename

The current data file is not the same as the file to which individual
dives were saved.

Reported-by: Jan Schubert <Jan.Schubert@GMX.li>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-03-03 23:31:24 -08:00
parent 280405d9b6
commit 1a69a845e1

View file

@ -1637,7 +1637,6 @@ static void save_as_cb(GtkWidget *menuitem, struct dive *dive)
gtk_widget_destroy(dialog);
if (filename){
set_filename(filename, TRUE);
save_dives_logic(filename, TRUE);
g_free(filename);
}