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>
This commit is contained in:
Robert C. Helling 2015-08-21 17:53:13 +02:00 committed by Dirk Hohndel
parent c7d8e72607
commit 3437666010

View file

@ -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()