Merge pull request #50 from asivery/master
Fixed rename dialog retriggering after hitting enter
This commit is contained in:
commit
4ca783a6e2
|
@ -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]);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue