Skip to content

Commit 4325b06

Browse files
[v3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item (#3839)
* [V3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item * [chore] Add darwin fix for NewEditMenu dupe role to changelog - PR #3839 --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
1 parent 4591fb9 commit 4325b06

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mkdocs-website/docs/en/changelog.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
- Fixed `Screen` type to include `ID` not `Id` by [etesam913](https://github.com/etesam913) in [#3778](https://github.com/wailsapp/wails/pull/3778)
2727

2828
### Fixed
29-
- Fixed `AlwaysOnTop` not working on Mac by [leaanthony](https://github.com/leaanthony)
30-
in [#3841](https://github.com/wailsapp/wails/pull/3841)
29+
- Fixed `AlwaysOnTop` not working on Mac by [leaanthony](https://github.com/leaanthony) in [#3841](https://github.com/wailsapp/wails/pull/3841)
30+
- [darwin] Fixed `application.NewEditMenu` including a duplicate `PasteAndMatchStyle` role in the edit menu on Darwin by [johnmccabe](https://github.com/johnmccabe) in [#3839](https://github.com/wailsapp/wails/pull/3839)
3131

3232
## v3.0.0-alpha.7 - 2024-09-18
3333

v3/pkg/application/roles.go

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ func NewEditMenu() *MenuItem {
121121
editMenu.AddRole(Copy)
122122
editMenu.AddRole(Paste)
123123
if runtime.GOOS == "darwin" {
124-
editMenu.AddRole(PasteAndMatchStyle)
125124
editMenu.AddRole(PasteAndMatchStyle)
126125
editMenu.AddRole(Delete)
127126
editMenu.AddRole(SelectAll)

0 commit comments

Comments
 (0)