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:
parent
103b290cc5
commit
e8b4ef6954
@ -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();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user