Skip to content

Commit

Permalink
closed #239
Browse files Browse the repository at this point in the history
  • Loading branch information
4sval committed Jan 7, 2022
1 parent fb33536 commit 0b22a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FModel/MainWindow.xaml.cs
Expand Up @@ -94,9 +94,9 @@ private void OnWindowKeyDown(object sender, KeyEventArgs e)
}
else if (_applicationView.IsReady && e.Key == Key.F && Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && Keyboard.Modifiers.HasFlag(ModifierKeys.Shift))
OnSearchViewClick(null, null);
else if (e.Key == Key.Left)
else if (e.Key == Key.Left && _applicationView.CUE4Parse.TabControl.SelectedTab.HasImage)
_applicationView.CUE4Parse.TabControl.SelectedTab.GoPreviousImage();
else if (e.Key == Key.Right)
else if (e.Key == Key.Right && _applicationView.CUE4Parse.TabControl.SelectedTab.HasImage)
_applicationView.CUE4Parse.TabControl.SelectedTab.GoNextImage();
else if (UserSettings.Default.AssetAddTab.IsTriggered(e.Key))
_applicationView.CUE4Parse.TabControl.AddTab();
Expand Down

0 comments on commit 0b22a5b

Please sign in to comment.