From 3437666010c3c9c725644e5d789cbb0faa3794c2 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Fri, 21 Aug 2015 17:53:13 +0200 Subject: Display error messages in planner After a replot, check if there is an error message to display. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/profile/profilewidget2.cpp') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index c776f9fea..514edcfc5 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -676,6 +676,8 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) MainWindow::instance()->turnOffNdlTts(); MainWindow::instance()->getNotificationWidget()->showNotification(tr("Show NDL / TTS was disabled because of excessive processing time"), KMessageWidget::Error); } + MainWindow::instance()->getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error); + } void ProfileWidget2::recalcCeiling() -- cgit v1.2.3-70-g09d2