summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 1e893900b..7b7d3bab3 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -799,9 +799,9 @@ void MainWindow::planCreated()
diveList->setFocus();
}
-void MainWindow::setPlanNotes()
+void MainWindow::setPlanNotes(QString plan)
{
- plannerDetails->divePlanOutput()->setHtml(displayed_dive.notes);
+ plannerDetails->divePlanOutput()->setHtml(plan);
}
void MainWindow::printPlan()