summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-12-03 20:42:25 +0000
committersr55 <[email protected]>2011-12-03 20:42:25 +0000
commitc1f270b152db7a124b4664277c22996115836f81 (patch)
treec97d367985eba2263a0a33ae021d584bcada02a8 /win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
parentd23ce1929a4711f9153a27f39ac30f07a1b66acd (diff)
WinGui: (WPF) Further work hooking up the new main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4372 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
index 5fafa01af..512a1b91d 100644
--- a/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
+++ b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
@@ -18,11 +18,11 @@
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
- <Button Content="Add Track" Grid.Column="0" Width="75" Margin="0,0,10,0" />
- <Button Content="Remove" Grid.Column="1" Width="75" />
+ <Button Content="Add Track" Click="Add" Grid.Column="0" Width="75" Margin="0,0,10,0" />
+ <Button Content="Remove" Click="Remove" Grid.Column="1" Width="75" />
</Grid>
- <DataGrid Grid.Row="2" Margin="10" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <DataGrid Grid.Row="2" Margin="10" ItemsSource="{Binding AudioTracks, RelativeSource={RelativeSource AncestorType=UserControl}}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
</DataGrid>