mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue