From 62d9fd8fb780a3544b38184e35bc1afacee3169d Mon Sep 17 00:00:00 2001 From: GMatrixGames Date: Tue, 11 Jan 2022 14:05:03 -0500 Subject: [PATCH] Fix CTRL+A in text area cycling tabs There's probably a different fix for this, but it works for now. --- FModel/MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FModel/MainWindow.xaml.cs b/FModel/MainWindow.xaml.cs index 123685e8..ce00cfbf 100644 --- a/FModel/MainWindow.xaml.cs +++ b/FModel/MainWindow.xaml.cs @@ -106,9 +106,9 @@ namespace FModel _applicationView.CUE4Parse.TabControl.GoLeftTab(); else if (UserSettings.Default.AssetRightTab.IsTriggered(e.Key)) _applicationView.CUE4Parse.TabControl.GoRightTab(); - else if (UserSettings.Default.DirLeftTab.IsTriggered(e.Key) && LeftTabControl.SelectedIndex > 0) + else if (UserSettings.Default.DirLeftTab.IsTriggered(e.Key) && !Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && LeftTabControl.SelectedIndex > 0) LeftTabControl.SelectedIndex--; - else if (UserSettings.Default.DirRightTab.IsTriggered(e.Key) && LeftTabControl.SelectedIndex < LeftTabControl.Items.Count - 1) + else if (UserSettings.Default.DirRightTab.IsTriggered(e.Key) && !Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && LeftTabControl.SelectedIndex < LeftTabControl.Items.Count - 1) LeftTabControl.SelectedIndex++; }