diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-18 08:26:40 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 0f7b2c45d773989229cb84a0147232962c6ae0e0 (patch) | |
tree | bec3948a7cc786d5d7fb6cf5cb2e6b14a832f6a8 /pkg/gui/diffing.go | |
parent | a12d18146ccd2847ef04377703baff58e209373d (diff) |
centralise split main panel code
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r-- | pkg/gui/diffing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index 435215f21..7418cf3aa 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -19,7 +19,7 @@ func (gui *Gui) exitDiffMode() error { func (gui *Gui) renderDiff() error { gui.getMainView().Title = "Diff" - gui.State.SplitMainPanel = false + gui.splitMainPanel(false) filterArg := "" if gui.inFilterMode() { filterArg = fmt.Sprintf(" -- %s", gui.State.FilterPath) |