aboutsummaryrefslogtreecommitdiff
path: root/src/main_window.cc
diff options
context:
space:
mode:
authorccolin2021-01-03 20:22:16 +0100
committerccolin2021-01-03 20:22:16 +0100
commitcbf29fc087179fbda1527d3c4cea82c2b8e9f695 (patch)
tree9a7ccb8010f69710af1aa74a018eabfedc780104 /src/main_window.cc
parent5326f294ceb95f1b535d145b5fdbdc221f560d53 (diff)
add option to draw support lines
Diffstat (limited to 'src/main_window.cc')
-rw-r--r--src/main_window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_window.cc b/src/main_window.cc
index 0471641..ac7bd58 100644
--- a/src/main_window.cc
+++ b/src/main_window.cc
@@ -91,6 +91,8 @@ void MainWindow::open(const QString &path) {
dc, &DroneController::displaySpheres);
connect(settings_pane, &SettingsPane::toggledTrajectories,
dc, &DroneController::setDrawTrajectories);
+ connect(settings_pane, &SettingsPane::toggledSupportLines,
+ dc, &DroneController::setDrawSupportLines);
settings_pane->setEnabled(true);
glw.setPainter(dc);