Browse Source

Fix forceSetRawValue usage pattern

QGC4.4
DonLakeFlyer 7 years ago committed by Lorenz Meier
parent
commit
f4b4f476f8
  1. 4
      src/FactSystem/Fact.cc

4
src/FactSystem/Fact.cc

@ -161,9 +161,11 @@ void Fact::_containerSetRawValue(const QVariant& value) @@ -161,9 +161,11 @@ void Fact::_containerSetRawValue(const QVariant& value)
if(_rawValue != value) {
_rawValue = value;
_sendValueChangedSignal(cookedValue());
emit vehicleUpdated(_rawValue);
emit rawValueChanged(_rawValue);
}
// This always need to be signalled in order to support forceSetRawValue usage and waiting for vehicleUpdated signal
emit vehicleUpdated(_rawValue);
}
QString Fact::name(void) const

Loading…
Cancel
Save