diff options
Diffstat (limited to 'src/main_window.cc')
-rw-r--r-- | src/main_window.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_window.cc b/src/main_window.cc index 9b4dff0..0471641 100644 --- a/src/main_window.cc +++ b/src/main_window.cc @@ -89,6 +89,8 @@ void MainWindow::open(const QString &path) { dc, &DroneController::computeCollisions); connect(settings_pane, &SettingsPane::sphereRadiusChanged, dc, &DroneController::displaySpheres); + connect(settings_pane, &SettingsPane::toggledTrajectories, + dc, &DroneController::setDrawTrajectories); settings_pane->setEnabled(true); glw.setPainter(dc); |