mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:33:24 +00:00
Forget old filename on starting a new log.
Fixes #253. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3b9c28bce7
commit
e5308c068f
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ void MainWindow::on_actionClose_triggered()
|
|||
/* clear the selection and the statistics */
|
||||
selected_dive = -1;
|
||||
|
||||
existing_filename = NULL;
|
||||
cleanUpEmpty();
|
||||
mark_divelist_changed(FALSE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue