|
@@ -31,7 +31,7 @@ const delegate = {
|
|
|
command.click(event, TopLevelWindow.getFocusedWindow(), webContents.getFocusedWebContents())
|
|
|
},
|
|
|
menuWillShow: (menu) => {
|
|
|
- // Ensure radio groups have at least one menu item seleted
|
|
|
+ // Ensure radio groups have at least one menu item selected
|
|
|
for (const id in menu.groupsMap) {
|
|
|
const found = menu.groupsMap[id].find(item => item.checked) || null
|
|
|
if (!found) v8Util.setHiddenValue(menu.groupsMap[id][0], 'checked', true)
|