diff --git a/src/components/main.tsx b/src/components/main.tsx index e91d934..cbf6d12 100644 --- a/src/components/main.tsx +++ b/src/components/main.tsx @@ -358,6 +358,7 @@ export const Main = (props: {}) => { }; const handleRenameActionClick = (event: React.MouseEvent) => { + if(event.detail !== 1) return; //Event retriggering when hitting enter in the dialog handleRenameDoubleClick(event, selected[0]); };