diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-05-17 21:54:51 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-13 21:50:23 +1000 |
commit | b51ad4fcea2a457b54c0f189e672eac4cc967614 (patch) | |
tree | b56aeac1e2a3f7778d8dcd6b020d2ed9e373ca31 /pkg/gui/arrangement.go | |
parent | d1a7c7283f8e9bb2d63d4f16c574167c111111ad (diff) |
softcode cyclable views
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r-- | pkg/gui/arrangement.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go index aaeee0a7f..6ce9b7907 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -172,7 +172,7 @@ func (gui *Gui) currentCyclableViewName() string { if currView != nil { viewName := currView.Name() usePreviousView := true - for _, view := range cyclableViews { + for _, view := range gui.getCyclableViews() { if view == viewName { currentCyclebleView = viewName usePreviousView = false |