Skip to content

Commit

Permalink
Don't try and serialse menu item action
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Nov 29, 2024
1 parent 7c60b03 commit b665464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type MenuItem struct {
IsQuit bool
IsSeparator bool
Label string
Action func()
Action func() `json:"-"`
// Since: 2.1
Disabled bool
// Since: 2.1
Expand Down

0 comments on commit b665464

Please sign in to comment.