summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-31 21:14:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-31 21:14:44 -0700
commit6333f3aa35d12d7e9f1c02389df0f6129adb93b3 (patch)
tree948d1b98f7db0644a08ea27e4d9f3d4baf088315 /qt-ui/mainwindow.cpp
parente93bf1e55953a7f95b4a0a5fb2a07e83e2a8c4c4 (diff)
downloadsubsurface-6333f3aa35d12d7e9f1c02389df0f6129adb93b3.tar.gz
Planner: show the plan notes in the new widget
That was easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 910580e06..dad8e4706 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -415,6 +415,11 @@ void MainWindow::planCreated()
refreshDisplay();
}
+void MainWindow::setPlanNotes(const char *notes)
+{
+ ui.divePlanOutput->setText(notes);
+}
+
void MainWindow::on_actionDivePlanner_triggered()
{
if(!plannerStateClean())