diff options
author | Sebastian Janning <[email protected]> | 2018-04-10 15:41:04 +0200 |
---|---|---|
committer | Scott <[email protected]> | 2018-04-10 19:03:29 +0100 |
commit | 6f799bbdf4ed34636fe9fb4cec6e17fe13ffbcae (patch) | |
tree | e4796260272de5606cceedd982493ed8fbc0cf19 /win/CS/HandBrakeWPF/Views | |
parent | b463d33a4ed4c9da5fb6432e7fb7e08422fc1aad (diff) |
option to disable preview on summary tab (issue #1267)
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/OptionsView.xaml | 1 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/SummaryView.xaml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index 0743e0b9d..cf2c877e5 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -175,6 +175,7 @@ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_AdvancedTab}" IsChecked="{Binding ShowAdvancedTab}" />
<CheckBox Content="{x:Static Properties:ResourcesUI.Options_ShowQueueInline}" IsChecked="{Binding ShowQueueInline}" Visibility="Collapsed" />
<CheckBox Content="{x:Static Properties:ResourcesUI.OptionsView_ShowStatusInTitleBar}" IsChecked="{Binding ShowStatusInTitleBar}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.OptionsView_ShowPreviewOnSummaryTab}" IsChecked="{Binding ShowPreviewOnSummaryTab}" />
</StackPanel>
</StackPanel>
</StackPanel>
diff --git a/win/CS/HandBrakeWPF/Views/SummaryView.xaml b/win/CS/HandBrakeWPF/Views/SummaryView.xaml index 884216802..edfbd1fac 100644 --- a/win/CS/HandBrakeWPF/Views/SummaryView.xaml +++ b/win/CS/HandBrakeWPF/Views/SummaryView.xaml @@ -95,7 +95,9 @@ </Grid> <!-- Column 2 --> - <Grid Grid.Column="1" Margin="10,0,0,5"> + <Grid Grid.Column="1" + Margin="10,0,0,5" + Visibility="{Binding ShowPreview, Converter={StaticResource boolToVisConverter}}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> |