From ad64e8a06997cf10786a0813719bdd1e0893a9bc Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 13 Feb 2014 09:15:46 +0100 Subject: [PATCH] Not quite right yet --- src/ui/MainWindow.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 8d77c9d89..d9a35db67 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 -- 2.22.0