diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-17 19:24:10 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-17 22:00:53 +1100 |
commit | d019626342991be940fef298df752f98d4e1847d (patch) | |
tree | 9c7c2b029a5e37f1df4cc93aeb3e38eeeca57d21 /pkg/gui | |
parent | 595aca2a4ba8dbcfd62a7db1dac0ff302dc4bbf9 (diff) |
do not show branch graph when in filtering mode
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/list_context_config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go index 55f2b7895..e5ad6c034 100644 --- a/pkg/gui/list_context_config.go +++ b/pkg/gui/list_context_config.go @@ -229,6 +229,10 @@ func (gui *Gui) subCommitsListContext() IListContext { } func (gui *Gui) shouldShowGraph() bool { + if gui.State.Modes.Filtering.Active() { + return false + } + value := gui.UserConfig.Git.Log.ShowGraph switch value { case "always": |