diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-22 20:17:26 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 120078f0112b64b201cf038b09f0cb00b8421d72 (patch) | |
tree | e08785c3a38926dc34a4d1799cfd8da63594443f /pkg/gui/extras_panel.go | |
parent | ecaff7fc6cc3d2e510a88e336abcb74567de3f12 (diff) |
use PopContext
Diffstat (limited to 'pkg/gui/extras_panel.go')
-rw-r--r-- | pkg/gui/extras_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/extras_panel.go b/pkg/gui/extras_panel.go index bb0eaf934..462a5118e 100644 --- a/pkg/gui/extras_panel.go +++ b/pkg/gui/extras_panel.go @@ -17,7 +17,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error { OnPress: func() error { currentContext := gui.currentStaticContext() if gui.ShowExtrasWindow && currentContext.GetKey() == context.COMMAND_LOG_CONTEXT_KEY { - if err := gui.returnFromContext(); err != nil { + if err := gui.c.PopContext(); err != nil { return err } } |