1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

GCS - More fixes to the dirty status of the config widgets

This commit is contained in:
PT_Dreamer 2012-08-01 15:17:05 +01:00
parent 06455d7bfb
commit 8c69fff234
3 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,7 @@ ConfigCCHWWidget::ConfigCCHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
enableControls(false);
populateWidgets();
refreshWidgetsValues();
forceConnectedState();
}
ConfigCCHWWidget::~ConfigCCHWWidget()

View File

@ -71,6 +71,8 @@ ConfigTxPIDWidget::ConfigTxPIDWidget(QWidget *parent) : ConfigTaskWidget(parent)
addUAVObjectToWidgetRelation("TxPIDSettings", "UpdateMode", m_txpid->UpdateMode);
addWidget(m_txpid->TxPIDEnable);
enableControls(false);
populateWidgets();
refreshWidgetsValues();

View File

@ -227,6 +227,7 @@ void ConfigTaskWidget::onAutopilotDisconnect()
void ConfigTaskWidget::forceConnectedState()
{
isConnected=true;
setDirty(false);
}
void ConfigTaskWidget::onAutopilotConnect()