diff options
author | sr55 <[email protected]> | 2013-03-22 18:14:41 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-22 18:14:41 +0000 |
commit | beda7f6918483e953c2744472fdc094da9fd34ba (patch) | |
tree | 1bba8b5704bdcccd244639f39bb40ce55a8d9624 | |
parent | 661b7b7141d907da3fdf053737ef0a8122c460b1 (diff) |
WinGui: Fix an issue with the avg bitrate text box. Update on property changed, not lost focus
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5357 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrakeWPF/Views/VideoView.xaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/VideoView.xaml b/win/CS/HandBrakeWPF/Views/VideoView.xaml index 4cc1b6b9e..313216def 100644 --- a/win/CS/HandBrakeWPF/Views/VideoView.xaml +++ b/win/CS/HandBrakeWPF/Views/VideoView.xaml @@ -93,7 +93,8 @@ <StackPanel Orientation="Horizontal" Margin="0,0,0,10">
<RadioButton Content="Avg Bitrate (kbps):" IsChecked="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,10,0"/>
- <TextBox Width="75" Text="{Binding Task.VideoBitrate}" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" />
+ <TextBox Width="75" Text="{Binding Task.VideoBitrate, UpdateSourceTrigger=PropertyChanged}"
+ IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="30,0,0,0">
|