From 9c8b8206cf6f7395086650f82182374785062f07 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Thu, 16 Jan 2025 16:23:01 +1300 Subject: [PATCH] Desktop: Close Warning when Closing Dive. Signed-off-by: Michael Keller --- desktop-widgets/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 774cd2a8e..b09b49d1d 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -509,6 +509,8 @@ bool MainWindow::okToClose(QString message) void MainWindow::closeCurrentFile() { + ui.mainErrorMessage->hideNotification(); + /* free the dives and trips */ clear_git_id(); clear_dive_file_data(); // this clears all the core data structures and resets the models