diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-03 15:56:11 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 0898a7bb57bc399ff016cea06a0ca35d0bf54d6b (patch) | |
tree | bc1a26ea01d493f4661bf8352cf0f1744dbf33ff /pkg/gui/window.go | |
parent | fafd5234bd7be6916e00712a3a138bf2ee92e99b (diff) |
refactor
Diffstat (limited to 'pkg/gui/window.go')
-rw-r--r-- | pkg/gui/window.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/window.go b/pkg/gui/window.go index 6717807c3..9a712d68d 100644 --- a/pkg/gui/window.go +++ b/pkg/gui/window.go @@ -17,7 +17,7 @@ func (gui *Gui) getViewNameForWindow(window string) string { func (gui *Gui) getWindowForViewName(viewName string) string { if viewName == "commitFiles" { - return gui.Contexts.CommitFiles.GetWindowName() + return gui.State.Contexts.CommitFiles.GetWindowName() } return viewName |