summaryrefslogtreecommitdiffstats
path: root/pkg/gui/extras_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-05-08 14:23:32 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-05-08 14:26:18 +1000
commit6f8063217ddf132dca36b75affaa7f7273f89d9d (patch)
tree871c1b76adf464b11fe04c43bbd2a4a7ac5d452e /pkg/gui/extras_panel.go
parent125e948d82c33226f92a1ebe18361633116370d3 (diff)
rename displayString to label for menu items
Diffstat (limited to 'pkg/gui/extras_panel.go')
-rw-r--r--pkg/gui/extras_panel.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/extras_panel.go b/pkg/gui/extras_panel.go
index 6033f8516..c36f12a66 100644
--- a/pkg/gui/extras_panel.go
+++ b/pkg/gui/extras_panel.go
@@ -13,7 +13,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
Title: gui.c.Tr.CommandLog,
Items: []*types.MenuItem{
{
- DisplayString: gui.c.Tr.ToggleShowCommandLog,
+ Label: gui.c.Tr.ToggleShowCommandLog,
OnPress: func() error {
currentContext := gui.currentStaticContext()
if gui.ShowExtrasWindow && currentContext.GetKey() == context.COMMAND_LOG_CONTEXT_KEY {
@@ -29,8 +29,8 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
},
},
{
- DisplayString: gui.c.Tr.FocusCommandLog,
- OnPress: gui.handleFocusCommandLog,
+ Label: gui.c.Tr.FocusCommandLog,
+ OnPress: gui.handleFocusCommandLog,
},
},
})