From 280df7377e0331e987e6645fd54b247fc03d4b95 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 20 Jun 2024 20:58:14 +0800 Subject: [PATCH] code_style: remove useless code --- src/Views/InteractiveRebase.axaml.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Views/InteractiveRebase.axaml.cs b/src/Views/InteractiveRebase.axaml.cs index ebea52f9..491d4bab 100644 --- a/src/Views/InteractiveRebase.axaml.cs +++ b/src/Views/InteractiveRebase.axaml.cs @@ -59,10 +59,6 @@ namespace SourceGit.Views item.SetAction(Models.InteractiveRebaseAction.Fixup); else if (e.Key == Key.D) item.SetAction(Models.InteractiveRebaseAction.Drop); - else if (e.Key == Key.Up && e.KeyModifiers == KeyModifiers.Alt) - vm.MoveItemUp(item); - else if (e.Key == Key.Down && e.KeyModifiers == KeyModifiers.Alt) - vm.MoveItemDown(item); } private async void StartJobs(object sender, RoutedEventArgs e)