mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
6ad2296082
commit
93785e9221
1 changed files with 3 additions and 1 deletions
|
|
@ -793,7 +793,9 @@ app.whenReady().then(() => {
|
|||
event.sender.openDevTools({mode: "bottom"});
|
||||
break;
|
||||
case "unregisterGlobalShortcut":
|
||||
globalShortcut.unregister(hotKey2Electron(data.accelerator));
|
||||
if (data.accelerator) {
|
||||
globalShortcut.unregister(hotKey2Electron(data.accelerator));
|
||||
}
|
||||
break;
|
||||
case "show":
|
||||
if (!currentWindow) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue