summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui_common.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-05-11 19:00:01 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-05-11 19:00:01 +1000
commit2b30085dba4c8002e234026294e7b29f1ed17811 (patch)
tree2906718355e195151d399d4bd1d1006ae795149a /pkg/gui/gui_common.go
parent5dacbb6293bcff48649fd9fcae6af8e1b76d23ad (diff)
parent5c95d231699b91bee40b505030d8c635453c2573 (diff)
Merge branch 'master' into refactor-better-encapsulation
Diffstat (limited to 'pkg/gui/gui_common.go')
-rw-r--r--pkg/gui/gui_common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/gui_common.go b/pkg/gui/gui_common.go
index dfed29c44..5a9eb9214 100644
--- a/pkg/gui/gui_common.go
+++ b/pkg/gui/gui_common.go
@@ -80,6 +80,10 @@ func (self *guiCommon) ActivateContext(context types.Context) error {
return self.gui.State.ContextMgr.ActivateContext(context, types.OnFocusOpts{})
}
+func (self *guiCommon) ActivateContext(context types.Context) error {
+ return self.gui.activateContext(context, types.OnFocusOpts{})
+}
+
func (self *guiCommon) GetAppState() *config.AppState {
return self.gui.Config.GetAppState()
}