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

LP-572 Enable the isSet option for HomeLocation in Attitude tab, add tooltip.

This commit is contained in:
Laurent Lalanne 2018-01-04 03:08:25 +01:00
parent b2b6e58b68
commit debddb5c0b

View File

@ -394,7 +394,10 @@ void ConfigRevoWidget::refreshWidgetsValuesImpl(UAVObject *obj)
{
Q_UNUSED(obj);
m_ui->isSetCheckBox->setEnabled(false);
m_ui->isSetCheckBox->setEnabled(true);
m_ui->isSetCheckBox->setToolTip(tr("When checked, the current Home Location is saved to the board.\n"
"When unchecked, the Home Location will be updated and set using\n"
"the first GPS position received after power up."));
HomeLocation *homeLocation = HomeLocation::GetInstance(getObjectManager());
Q_ASSERT(homeLocation);