diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 8d77c9d89a3315f7f7195f3d83dedcb9721c9d99..d9a35db67316b0577bd1873ad01c7e8887c0c45e 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -463,6 +463,12 @@ void MainWindow::buildCustomWidget() case VIEW_MAVLINK: dock = createDockWidget(mavlinkView,tool,tool->getTitle(),tool->objectName(),(VIEW_SECTIONS)view,location); break; + case VIEW_GOOGLEEARTH: + dock = createDockWidget(googleEarthView,tool,tool->getTitle(),tool->objectName(),(VIEW_SECTIONS)view,location); + break; + case VIEW_LOCAL3D: + dock = createDockWidget(local3DView,tool,tool->getTitle(),tool->objectName(),(VIEW_SECTIONS)view,location); + break; default: dock = createDockWidget(centerStack->currentWidget(),tool,tool->getTitle(),tool->objectName(),(VIEW_SECTIONS)view,location); break; @@ -1227,6 +1233,8 @@ void MainWindow::connectCommonActions() } perspectives->addAction(ui.actionTerminalView); perspectives->addAction(ui.actionUnconnectedView); + perspectives->addAction(ui.actionGoogleEarthView); + perspectives->addAction(ui.actionLocal3DView); perspectives->setExclusive(true); // Mark the right one as selected