From e5308c068f76115a28c9fe0c0e14ca87b96d4f90 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Fri, 15 Nov 2013 21:35:12 +0100 Subject: Forget old filename on starting a new log. Fixes #253. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index f2f7112e0..06b0be08d 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -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); -- cgit v1.2.3-70-g09d2