From 237ec188f93205383a84c7e8515232472c221c78 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Sun, 19 Aug 2012 21:17:37 -0500 Subject: [PATCH] GCS: When PipX is detected do not make it the active configuration tab to prevent the dialog about dirty tabs appearing. --- ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp index 9bf8bed0a..4a3b27e38 100644 --- a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp @@ -225,7 +225,6 @@ void ConfigGadgetWidget::updatePipXStatus(UAVObject *) qDebug()<<"ConfigGadgetWidget onPipxtremeConnect"; QWidget *qwd = new ConfigPipXtremeWidget(this); ftw->insertTab(ConfigGadgetWidget::pipxtreme, qwd, QIcon(":/configgadget/images/PipXtreme.png"), QString("PipXtreme")); - ftw->setCurrentIndex(ConfigGadgetWidget::pipxtreme); pipxConnected = true; } }