diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 3193eb2a8..bd202b24f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -116,6 +116,7 @@ void MainWindow::on_actionClose_triggered() ui->InfoWidget->clearEquipment(); clear_events(); +#if USE_GTK_UI show_dive_stats(NULL); /* redraw the screen */ @@ -124,6 +125,7 @@ void MainWindow::on_actionClose_triggered() // WARNING? Port this to Qt. show_dive_info(NULL); +#endif /* USE_GTK_UI */ } void MainWindow::on_actionImport_triggered() |