mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Close Warning when Closing Dive.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
297bac2988
commit
9ec1190a30
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue