Browse Source

Fix for a couple of floating windows that shouldn't have been shown

QGC4.4
Michael Carpenter 12 years ago
parent
commit
e9e36e4137
  1. 2
      src/ui/MainWindow.cc
  2. 2
      src/ui/QGCTabbedInfoView.cpp

2
src/ui/MainWindow.cc

@ -538,7 +538,7 @@ void MainWindow::buildCommonWidgets() @@ -538,7 +538,7 @@ void MainWindow::buildCommonWidgets()
{
debugConsole = new DebugConsole();
debugConsole->setWindowTitle("Communications Console");
debugConsole->show();
debugConsole->hide();
QAction* tempAction = ui.menuTools->addAction(tr("Communication Console"));
//menuToDockNameMap[tempAction] = "COMMUNICATION_DEBUG_CONSOLE_DOCKWIDGET";
tempAction->setCheckable(true);

2
src/ui/QGCTabbedInfoView.cpp

@ -4,7 +4,7 @@ QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent) @@ -4,7 +4,7 @@ QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent)
{
ui.setupUi(this);
actionsWidget = new UASActionsWidget(this);
quickView = new UASQuickView(this);\
quickView = new UASQuickView(this);
rawView = new UASRawStatusView(this);
ui.tabWidget->addTab(quickView,"Quick");
ui.tabWidget->addTab(actionsWidget,"Actions");

Loading…
Cancel
Save