diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-30 10:45:25 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | f0c81ea6dc420786ec58b0f1402d7696e221999d (patch) | |
tree | 4bc5e77decdb5682958f094f9f7891fa6f97905c /pkg/gui/status_panel.go | |
parent | f97de692e32be50a54a93b75d3686da0495275cb (diff) |
remove redundant popup checks
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index 1b53fc39c..366d55441 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -30,10 +30,6 @@ func (gui *Gui) handleCheckForUpdate() error { func (gui *Gui) handleStatusClick() error { // TODO: move into some abstraction (status is currently not a listViewContext where a lot of this code lives) - if gui.popupPanelFocused() { - return nil - } - currentBranch := gui.getCheckedOutBranch() if currentBranch == nil { // need to wait for branches to refresh @@ -79,10 +75,6 @@ func formatWorkingTreeState(rebaseMode enums.RebaseMode) string { func (gui *Gui) statusRenderToMain() error { // TODO: move into some abstraction (status is currently not a listViewContext where a lot of this code lives) - if gui.popupPanelFocused() { - return nil - } - dashboardString := strings.Join( []string{ lazygitTitle(), |