diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-08-21 17:53:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-21 10:16:06 -0700 |
commit | 3437666010c3c9c725644e5d789cbb0faa3794c2 (patch) | |
tree | 3fa952bd74d0af86cb1b9bfe6a9d4357fe8d78f2 /qt-ui/profile | |
parent | c7d8e72607870fee24fd03df3b54877a80c55102 (diff) | |
download | subsurface-3437666010c3c9c725644e5d789cbb0faa3794c2.tar.gz |
Display error messages in planner
After a replot, check if there is an error message to display.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |