diff --git a/src/renderer/components/WorkspaceTabQueryTable.vue b/src/renderer/components/WorkspaceTabQueryTable.vue index 33cb6498..b338403f 100644 --- a/src/renderer/components/WorkspaceTabQueryTable.vue +++ b/src/renderer/components/WorkspaceTabQueryTable.vue @@ -538,6 +538,7 @@ const closeContext = () => { }; const showDeleteConfirmModal = (e: any) => { + if (e.code !== 'Delete') return; if (e && e.path && ['INPUT', 'TEXTAREA', 'SELECT'].includes(e.path[0].tagName)) return; if (selectedRows.value.length === 0) return;