refs #3573 Enable reload shortcut key
This commit is contained in:
parent
7967d507d3
commit
b91fdd9a86
|
@ -14,8 +14,7 @@ import {
|
|||
Notification,
|
||||
NotificationConstructorOptions,
|
||||
nativeTheme,
|
||||
IpcMainInvokeEvent,
|
||||
globalShortcut
|
||||
IpcMainInvokeEvent
|
||||
} from 'electron'
|
||||
import Datastore from 'nedb'
|
||||
import { isEmpty } from 'lodash'
|
||||
|
@ -452,13 +451,6 @@ app.on('activate', () => {
|
|||
}
|
||||
})
|
||||
|
||||
app.on('browser-window-focus', () => {
|
||||
// Disable reload
|
||||
globalShortcut.register('CommandOrControl+R', () => {
|
||||
console.log('CommandOrControl+R is pressed: Shortcut Disabled')
|
||||
})
|
||||
})
|
||||
|
||||
const auth = new Authentication(accountRepo)
|
||||
|
||||
type AuthRequest = {
|
||||
|
|
Loading…
Reference in New Issue