diff options
author | sr55 <[email protected]> | 2016-12-12 21:40:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-12-12 21:40:06 +0000 |
commit | 8cbb2ba52ba8014e8993376f778acf0753ae23fc (patch) | |
tree | f60b2d3e7ad71d0bf6797ebf62255daf10aa8b67 /win | |
parent | ce1090e397de99794ec4d6b6bc2ecb380e223c72 (diff) |
WinGui: Fix Disabled state of queue tab when queue is in-line and queue is imported. It will now activate correctly.
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index 71be890df..1959c9bfe 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -295,7 +295,7 @@ </StackPanel>
<!-- Main Body -->
- <Grid Grid.Row="1" IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}">
+ <Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="725"/>
<ColumnDefinition Width="Auto" />
@@ -307,7 +307,7 @@ <RowDefinition Height="*" />
</Grid.RowDefinitions>
<!-- Main Controls -->
- <StackPanel Orientation="Vertical">
+ <StackPanel Orientation="Vertical" IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}">
<!-- Source -->
<StackPanel Margin="10,5,5,5"
HorizontalAlignment="Stretch"
@@ -381,7 +381,7 @@ </StackPanel>
<!-- Destination -->
- <StackPanel Grid.Row="1"
+ <StackPanel Grid.Row="1" IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}"
Margin="10,5,10,5"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
@@ -416,7 +416,7 @@ </StackPanel>
<!-- Output Options -->
- <StackPanel Grid.Row="2"
+ <StackPanel Grid.Row="2" IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}"
Margin="10,5,10,5"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
@@ -455,7 +455,7 @@ </StackPanel>
<!-- Tab Control -->
- <TabControl Name="tabControl"
+ <TabControl Name="tabControl" IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}"
Grid.Row="3"
Margin="10,10,10,6"
HorizontalAlignment="Stretch"
@@ -504,6 +504,7 @@ VerticalAlignment="Stretch"
Header="Presets"
Margin="0,0,5,5"
+ IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}"
Visibility="{Binding IsPresetPanelShowing, Converter={StaticResource boolToVisConverter}}">
<Grid>
|