Browse Source

Bad english, plus unit test check

QGC4.4
Don Gagne 9 years ago
parent
commit
53a85ba009
  1. 4
      src/FactSystem/ParameterLoader.cc

4
src/FactSystem/ParameterLoader.cc

@ -296,8 +296,8 @@ void ParameterLoader::_valueUpdated(const QVariant& value) @@ -296,8 +296,8 @@ void ParameterLoader::_valueUpdated(const QVariant& value)
_writeParameterRaw(componentId, fact->name(), value);
qCDebug(ParameterLoaderLog) << "Set parameter (componentId:" << componentId << "name:" << name << value << ")";
if (fact->rebootRequired()) {
qgcApp()->showMessage(QStringLiteral("Change of parameter %1 requires a Vehicle reboot to take affect").arg(name));
if (fact->rebootRequired() && !qgcApp()->runningUnitTests()) {
qgcApp()->showMessage(QStringLiteral("Change of parameter %1 requires a Vehicle reboot to take effect").arg(name));
}
}

Loading…
Cancel
Save