Make dvar set methods also set the latched values
This commit is contained in:
parent
b3e5f461f2
commit
cc9a2b0bac
@ -116,6 +116,7 @@ namespace Components
|
||||
if (this->dvar)
|
||||
{
|
||||
this->dvar->current.integer = integer;
|
||||
this->dvar->latched.integer = integer;
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,6 +125,7 @@ namespace Components
|
||||
if (this->dvar)
|
||||
{
|
||||
this->dvar->current.value = value;
|
||||
this->dvar->latched.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
@ -132,6 +134,7 @@ namespace Components
|
||||
if (this->dvar)
|
||||
{
|
||||
this->dvar->current.enabled = value;
|
||||
this->dvar->latched.enabled = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user