summaryrefslogtreecommitdiffstats
path: root/pkg/gui/extras_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-22 20:17:26 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commit120078f0112b64b201cf038b09f0cb00b8421d72 (patch)
treee08785c3a38926dc34a4d1799cfd8da63594443f /pkg/gui/extras_panel.go
parentecaff7fc6cc3d2e510a88e336abcb74567de3f12 (diff)
use PopContext
Diffstat (limited to 'pkg/gui/extras_panel.go')
-rw-r--r--pkg/gui/extras_panel.go2
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
}
}