aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/webview/contextMenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/contextMenu.js b/src/webview/contextMenu.js
index 9b148b220..195306fda 100644
--- a/src/webview/contextMenu.js
+++ b/src/webview/contextMenu.js
@@ -35,7 +35,7 @@ const buildMenuTpl = (props, suggestions) => {
35 id: 'cut', 35 id: 'cut',
36 role: can('Cut') ? 'cut' : '', 36 role: can('Cut') ? 'cut' : '',
37 enabled: can('Cut'), 37 enabled: can('Cut'),
38 visible: props.selectionText.trim(), 38 visible: !!props.selectionText.trim(),
39 }, { 39 }, {
40 id: 'copy', 40 id: 'copy',
41 label: 'Copy', 41 label: 'Copy',