]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fixing some data binding errors in the Audio and Subtitle Views
authorsr55 <sr55.hb@outlook.com>
Wed, 3 Aug 2016 19:59:13 +0000 (20:59 +0100)
committersr55 <sr55.hb@outlook.com>
Wed, 3 Aug 2016 19:59:13 +0000 (20:59 +0100)
win/CS/HandBrakeWPF/Views/AudioView.xaml
win/CS/HandBrakeWPF/Views/SubtitlesView.xaml

index 812361428b983979c859121cb2862806a2656082..c46f51e074caac504a6ff819829b25aaf0c82cc2 100644 (file)
@@ -47,8 +47,7 @@
                    Text="{Binding PanelTitle}" />\r
 \r
         <!-- Row 1 -->\r
-        <Grid Grid.Row="1" Margin="10,5,10,0" Grid.Column="0" \r
-              Visibility="{Binding ShowAudioDefaultsPanel, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}">\r
+        <Grid Grid.Row="1" Margin="10,5,10,0" Grid.Column="0" >\r
             <Grid.ColumnDefinitions>\r
                 <ColumnDefinition Width="*" />\r
             </Grid.ColumnDefinitions>\r
@@ -89,8 +88,7 @@
         </Grid>\r
 \r
         <!-- Row 2 -->\r
-        <ListBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch" \r
-                 Visibility="{Binding ShowAudioDefaultsPanel, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}"\r
+        <ListBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch"\r
                  Margin="10,10,10,10"\r
                  dd:DragDrop.DropHandler="{Binding}"\r
                  dd:DragDrop.IsDragSource="True"\r
index d1dcc88c91688f848a6ef63fe55b2264cc2fc1cc..54df67b38130170b880112b256feec31e4a53e77 100644 (file)
@@ -46,8 +46,7 @@
                    Text="{Binding PanelTitle}" />\r
 \r
         <!-- Row 1 -->\r
-        <Grid Grid.Row="1" Margin="10,5,10,0"\r
-                    Visibility="{Binding ShowDefaultsPanel, Converter={StaticResource booleanToVisConverter}, ConverterParameter=true}" >\r
+        <Grid Grid.Row="1" Margin="10,5,10,0">\r
             \r
             <Grid.ColumnDefinitions>\r
                 <ColumnDefinition Width="Auto" />\r
@@ -89,7 +88,6 @@
 \r
         <!-- Row 2 -->\r
         <ListBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"\r
-                 Visibility="{Binding ShowDefaultsPanel, Converter={StaticResource booleanToVisConverter}, ConverterParameter=true}"\r
                  Margin="10,10,10,10"\r
                  dd:DragDrop.DropHandler="{Binding}"\r
                  dd:DragDrop.IsDragSource="True"\r