Don't overwrite values that are mid-edit in air alarm window (#40338)
This commit is contained in:
@@ -30,8 +30,11 @@ public sealed partial class ThresholdBoundControl : BoxContainer
|
|||||||
public void SetValue(float value)
|
public void SetValue(float value)
|
||||||
{
|
{
|
||||||
_value = value;
|
_value = value;
|
||||||
|
if (!CSpinner.HasKeyboardFocus())
|
||||||
|
{
|
||||||
CSpinner.Value = ScaledValue;
|
CSpinner.Value = ScaledValue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void SetEnabled(bool enabled)
|
public void SetEnabled(bool enabled)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user