mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +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"});
|
event.sender.openDevTools({mode: "bottom"});
|
||||||
break;
|
break;
|
||||||
case "unregisterGlobalShortcut":
|
case "unregisterGlobalShortcut":
|
||||||
globalShortcut.unregister(hotKey2Electron(data.accelerator));
|
if (data.accelerator) {
|
||||||
|
globalShortcut.unregister(hotKey2Electron(data.accelerator));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "show":
|
case "show":
|
||||||
if (!currentWindow) {
|
if (!currentWindow) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue