We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b85c791 commit 41c3dcfCopy full SHA for 41c3dcf
1 file changed
emain/emain-tabview.ts
@@ -40,9 +40,10 @@ function handleWindowsMenuAccelerators(
40
if (checkKeyPressed(waveEvent, "Ctrl:v")) {
41
const ctrlVPaste = fullConfig?.settings?.["app:ctrlvpaste"];
42
const shouldPaste = ctrlVPaste ?? true;
43
- if (shouldPaste) {
44
- tabView.webContents.paste();
+ if (!shouldPaste) {
+ return false;
45
}
46
+ tabView.webContents.paste();
47
return true;
48
49
0 commit comments