From d1f37e920bd9c0ee7254385f450fef2bf9e52b30 Mon Sep 17 00:00:00 2001 From: Kanuan Date: Sun, 28 Jul 2024 10:40:26 -0300 Subject: [PATCH] Wpfui numberbox workaround (#376) * Remove incorrect atribute setting * Apply workaround for ui:NumberBox control --- ControlApp/Views/UserControls/DeviceSettingsEditor.xaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ControlApp/Views/UserControls/DeviceSettingsEditor.xaml b/ControlApp/Views/UserControls/DeviceSettingsEditor.xaml index 066e2927..b7f1e3f2 100644 --- a/ControlApp/Views/UserControls/DeviceSettingsEditor.xaml +++ b/ControlApp/Views/UserControls/DeviceSettingsEditor.xaml @@ -81,8 +81,7 @@ ClearButtonEnabled="False" Maximum="5" Minimum="{Binding MinHoldTime}" - Text="{Binding HoldTime}" - Value="{Binding HoldTime}" /> + Value="{Binding HoldTime, UpdateSourceTrigger=PropertyChanged}" />