diff options
author | sr55 <[email protected]> | 2020-06-03 18:25:20 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2020-06-03 18:25:30 +0100 |
commit | cf8281966e0ff934b9c5728f82afe6ab08f61b28 (patch) | |
tree | 5fc2269f3cde96b21e52fbc7f91de890e57859c6 /win/CS/HandBrakeWPF/Views/MainView.xaml | |
parent | 769b48378969aa7cd927873804ab0ad4cb79e06e (diff) |
WinGui: Fix an issue where the treeview control can, when categories are closed, trigger a series of events that cause the preset to be de-selected.
Fix an issue where removing a preset can leave none selected.
#2875
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index a57759a2a..20afae2a8 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -641,7 +641,7 @@ <TreeView x:Name="presetListTree" HorizontalAlignment="Stretch" AutomationProperties.Name="Presets List" ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Presets}"
VerticalAlignment="Stretch" BorderThickness="0,0,0,1" BorderBrush="LightGray"
ItemsSource="{Binding PresetsCategories}" MaxWidth="265"
- helpers:TreeViewHelper.TreeViewSelectedItem="{Binding Path=SelectedPreset, Mode=TwoWay}"
+ SelectedItemChanged="PresetListTree_OnSelectedItemChanged"
PreviewMouseRightButtonDown="PresetListTree_OnPreviewMouseRightButtonDown">
<TreeView.ItemContainerStyle>
|