diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-03-03 23:31:24 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-03 23:31:24 -0800 |
commit | 1a69a845e1d5a6d3a4070eebd9a29656726455e9 (patch) | |
tree | 211e49d894e405d3b70d036828909fccf4850d74 /divelist.c | |
parent | 280405d9b679fd02d32335a0b0bddef979afc0f8 (diff) | |
download | subsurface-1a69a845e1d5a6d3a4070eebd9a29656726455e9.tar.gz |
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>
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |