diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-06-12 17:43:04 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-07-31 08:40:47 +0200 |
commit | 375451785c2f72da368e0cafaff9dc2e9f40a5b4 (patch) | |
tree | 14c65e43ca7e2196d2835777cbee54b11e417d72 /pkg/gui | |
parent | a6af31a4cb294e87e9b16ac077411d7a6531071b (diff) |
Cleanup: remove extra OutsideFilterMode guard
We are in the outsideFilterModeBindings section here; all of these handlers are
wrapped in a OutsideFilterMode guard in a loop below. No need to add one
manually here.
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/controllers/local_commits_controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/local_commits_controller.go b/pkg/gui/controllers/local_commits_controller.go index 5d796fca8..a8df8811c 100644 --- a/pkg/gui/controllers/local_commits_controller.go +++ b/pkg/gui/controllers/local_commits_controller.go @@ -100,7 +100,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ }, { Key: opts.GetKey(opts.Config.Commits.PasteCommits), - Handler: opts.Guards.OutsideFilterMode(self.paste), + Handler: self.paste, Description: self.c.Tr.PasteCommits, }, // overriding these navigation keybindings because we might need to load |