Signed-off-by: Anton Lundin <[email protected]>
---
qt-ui/mainwindow.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 4c70f5c..af8bc70 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -903,10 +903,12 @@ void MainWindow::closeEvent(QCloseEvent *event)
return;
}
+#ifndef NO_USERMANUAL
if (helpView && helpView->isVisible()) {
helpView->close();
helpView->deleteLater();
}
+#endif
if (yearlyStats && yearlyStats->isVisible()) {
yearlyStats->close();
--
1.9.1
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface