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:
parent
c7d8e72607
commit
3437666010
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user