Skip to content

Commit

Permalink
add new window item to mac dock menu
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmerAL committed Aug 20, 2023
1 parent 29e4120 commit f7535a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,16 @@ function createDockMenu () {
click: function (item, window) {
sendIPCToWindow(window, 'addTask')
}
},
{
label: l('appMenuNewWindow'),
click: function () {
if (isFocusMode) {
showFocusModeDialog2()
} else {
createWindow()
}
}
}
]

Expand Down

0 comments on commit f7535a6

Please sign in to comment.