From fbb33b7abc25a19b2db11354a872422818564e1e Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 5 Apr 2021 13:34:23 +1000 Subject: [PATCH] remove code that I'm pretty sure isn't needed --- pkg/gui/main_panels.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go index cd9e57ece..604b90c3a 100644 --- a/pkg/gui/main_panels.go +++ b/pkg/gui/main_panels.go @@ -171,11 +171,6 @@ func (gui *Gui) refreshMainViews(opts refreshMainOpts) error { func (gui *Gui) splitMainPanel(splitMainPanel bool) { gui.State.SplitMainPanel = splitMainPanel - - // no need to set view on bottom when splitMainPanel is false: it will have zero size anyway thanks to our view arrangement code. - if splitMainPanel { - gui.Views.Secondary.Visible = true - } } func (gui *Gui) isMainPanelSplit() bool {