From f4b4f476f840c14e3166152f50365ad45a9ab220 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 7 Jan 2018 09:37:30 -0800 Subject: [PATCH] Fix forceSetRawValue usage pattern --- src/FactSystem/Fact.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FactSystem/Fact.cc b/src/FactSystem/Fact.cc index 7363a09d6..f36452b84 100644 --- a/src/FactSystem/Fact.cc +++ b/src/FactSystem/Fact.cc @@ -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 -- 2.22.0