diff options
Diffstat (limited to 'pkg/gui/staging_panel.go')
-rw-r--r-- | pkg/gui/staging_panel.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/staging_panel.go b/pkg/gui/staging_panel.go index d021525dc..617a4c203 100644 --- a/pkg/gui/staging_panel.go +++ b/pkg/gui/staging_panel.go @@ -84,7 +84,7 @@ func (gui *Gui) handleTogglePanel() error { func (gui *Gui) handleStagingEscape() error { gui.escapeLineByLinePanel() - return gui.pushContext(gui.Contexts.Files.Context) + return gui.pushContext(gui.Contexts.Files) } func (gui *Gui) handleToggleStagedSelection() error { @@ -107,7 +107,7 @@ func (gui *Gui) handleResetSelection() error { handlersManageFocus: true, handleConfirm: func() error { return gui.withLBLActiveCheck(func(state *lBlPanelState) error { - if err := gui.pushContext(gui.Contexts.Staging.Context); err != nil { + if err := gui.pushContext(gui.Contexts.Staging); err != nil { return err } @@ -115,7 +115,7 @@ func (gui *Gui) handleResetSelection() error { }) }, handleClose: func() error { - return gui.pushContext(gui.Contexts.Staging.Context) + return gui.pushContext(gui.Contexts.Staging) }, }) } else { |