f5 isn't a valid accelerator

fix WARNING: f5 is not a valid accelerator on MacOS
pull/881/head
Ryan Tharp 5 years ago committed by GitHub
parent 292100c2c6
commit cef644b637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -286,7 +286,7 @@ function createWindow() {
// Disable system main menu
mainWindow.setMenu(null);
electronLocalshortcut.register(mainWindow, 'f5', () => {
electronLocalshortcut.register(mainWindow, 'F5', () => {
mainWindow.reload();
});
electronLocalshortcut.register(mainWindow, 'CommandOrControl+R', () => {

Loading…
Cancel
Save