Unverified Commit 9b9b9d74 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6247 from DonLakeFlyer/Fixes

Random fixes
parents 87f92107 3f1e2630
...@@ -416,6 +416,11 @@ void PlanMasterController::removeAll(void) ...@@ -416,6 +416,11 @@ void PlanMasterController::removeAll(void)
_missionController.removeAll(); _missionController.removeAll();
_geoFenceController.removeAll(); _geoFenceController.removeAll();
_rallyPointController.removeAll(); _rallyPointController.removeAll();
if (_offline) {
_missionController.setDirty(false);
_geoFenceController.setDirty(false);
_rallyPointController.setDirty(false);
}
} }
void PlanMasterController::removeAllFromVehicle(void) void PlanMasterController::removeAllFromVehicle(void)
......
...@@ -43,7 +43,7 @@ QGCMapRCToParamDialog::QGCMapRCToParamDialog(QString param_id, UASInterface *mav ...@@ -43,7 +43,7 @@ QGCMapRCToParamDialog::QGCMapRCToParamDialog(QString param_id, UASInterface *mav
ui->paramIdLabel->setText(param_id); ui->paramIdLabel->setText(param_id);
connect(paramFact, &Fact::valueChanged, this, &QGCMapRCToParamDialog::_parameterUpdated); connect(paramFact, &Fact::vehicleUpdated, this, &QGCMapRCToParamDialog::_parameterUpdated);
vehicle->parameterManager()->refreshParameter(FactSystem::defaultComponentId, param_id); vehicle->parameterManager()->refreshParameter(FactSystem::defaultComponentId, param_id);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment