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:
Robert C. Helling 2013-11-15 21:35:12 +01:00 committed by Dirk Hohndel
parent 3b9c28bce7
commit e5308c068f

View file

@ -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);