From 1a69a845e1d5a6d3a4070eebd9a29656726455e9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 3 Mar 2013 23:31:24 -0800 Subject: [PATCH] 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 Signed-off-by: Dirk Hohndel --- divelist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/divelist.c b/divelist.c index 1912f0f1d..f8e9f1682 100644 --- a/divelist.c +++ b/divelist.c @@ -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); }