From 39c79db9e18a6e3c13c8d6818474e8fe74dba2cc Mon Sep 17 00:00:00 2001 From: sr55 <sr55.hb@outlook.com> Date: Fri, 25 May 2012 23:19:22 +0000 Subject: WinGui: Change the Binding behaviour to update the bound field as the user types rather than when focus is lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4697 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Views/MainView.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml') diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index d12fa847c..fd4f0d356 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -260,7 +260,7 @@ <Label Content="Destination" FontWeight="Bold" /> <StackPanel Orientation="Horizontal"> <Label Content="File" Margin="8,0,0,0" /> - <TextBox Name="Destination" Margin="8,0,0,0" Width="600" Text="{Binding CurrentTask.Destination}" /> + <TextBox Name="Destination" Margin="8,0,0,0" Width="600" Text="{Binding CurrentTask.Destination, UpdateSourceTrigger=PropertyChanged}" /> <Button Name="DestinationBrowser" Margin="8,0,0,0" Content="Browse" Micro:Message.Attach="[Event Click] = [Action BrowseDestination]" /> </StackPanel> </StackPanel> -- cgit v1.2.3