diff options
author | sr55 <[email protected]> | 2018-05-01 20:45:04 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-05-01 20:45:04 +0100 |
commit | 63a5558d42087cffd4971b85f34b90e3832c0649 (patch) | |
tree | ac3fd26a5a0a81bfc2d831d1220343b587aa405b /win | |
parent | 46f2e1ea8caa93d2f28d0c2d917890b5fda60e57 (diff) |
WinGui: Fix Tabbing behaviour on the main tab control. Fixes #1313
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs index 922746bee..957eeaeaf 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs @@ -66,7 +66,7 @@ namespace HandBrakeWPF.Views private void TabControl_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
{
- if (e.AddedItems.Count > 0)
+ if (e.Source is TabControl && e.AddedItems.Count > 0)
{
TabItem tab = e.AddedItems[0] as TabItem;
if (tab != null && Properties.ResourcesUI.MainView_SummaryTab.Equals(tab.Header))
|