Don't overwrite values that are mid-edit in air alarm window (#40338)
This commit is contained in:
parent
886b365099
commit
a5129c141c
1 changed files with 4 additions and 1 deletions
|
|
@ -30,7 +30,10 @@ public sealed partial class ThresholdBoundControl : BoxContainer
|
|||
public void SetValue(float value)
|
||||
{
|
||||
_value = value;
|
||||
CSpinner.Value = ScaledValue;
|
||||
if (!CSpinner.HasKeyboardFocus())
|
||||
{
|
||||
CSpinner.Value = ScaledValue;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetEnabled(bool enabled)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue