1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-373 Uploader gadget now checks whether the autopilot is connected already when it starts, so that it displays the right state.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3142 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-04-10 08:23:03 +00:00 committed by edouard
parent 103b290cc5
commit e8b4ef6954

View File

@ -56,6 +56,11 @@ UploaderGadgetWidget::UploaderGadgetWidget(QWidget *parent) : QWidget(parent)
connect(m_config->refreshPorts, SIGNAL(clicked()), this, SLOT(getSerialPorts()));
// And check whether by any chance we are not already connected
if (telMngr->isConnected())
onAutopilotConnect();
}