summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-05-12 19:06:19 +0100
committersr55 <[email protected]>2016-05-12 19:06:19 +0100
commitc2ddfa317feb249bc4c39e986e9e60f9208bde0a (patch)
treec3af89c64378c87a9f98e6435465e6f8840723f9 /win/CS/HandBrakeWPF/Views/AddPresetView.xaml
parentd61a9be79e8c7f40c4655494df290703b8ce285a (diff)
WinGui: Update the UpdateSourceTrigger on the AddPresetView so you don't need to tab out of the controls for it to recognise the name. Fixes #183
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/AddPresetView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/AddPresetView.xaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
index 4431ab9ca..f47beb6cf 100644
--- a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
+++ b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
@@ -60,7 +60,7 @@
<TextBox Grid.Row="0"
Grid.Column="1"
HorizontalAlignment="Stretch"
- Text="{Binding Preset.Name}" />
+ Text="{Binding Preset.Name, UpdateSourceTrigger=PropertyChanged}" />
<!-- Description -->
@@ -70,7 +70,7 @@
<TextBox Grid.Row="2"
Grid.Column="1" Margin="0,10,0,0"
- Text="{Binding Preset.Description}" />
+ Text="{Binding Preset.Description, UpdateSourceTrigger=PropertyChanged}" />
<!-- Settings -->
<TextBlock Grid.Row="3" Margin="0,10,10,0"
@@ -96,12 +96,12 @@
Orientation="Horizontal"
Visibility="{Binding ShowCustomInputs,
Converter={StaticResource boolToVisConverter}}">
- <controls:NumberBox Width="60" Number="{Binding CustomWidth, Mode=TwoWay}" HorizontalAlignment="Left" Margin="0,0,0,5"
+ <controls:NumberBox Width="60" Number="{Binding CustomWidth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="0,0,0,5"
AllowEmpty="True" />
<TextBlock Margin="10,0,10,0"
FontWeight="Bold"
Text="X" />
- <controls:NumberBox Width="60" Number="{Binding CustomHeight, Mode=TwoWay}" HorizontalAlignment="Left" Margin="0,0,0,5"
+ <controls:NumberBox Width="60" Number="{Binding CustomHeight, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="0,0,0,5"
AllowEmpty="True" />
</StackPanel>