-
Notifications
You must be signed in to change notification settings - Fork 4
clean clipboard after copy self subtree #2981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
@@ -385,7 +408,7 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu | |||
} | |||
); | |||
//Do not wait for the response, after the first CUT / PASTE operation, we can't paste anymore | |||
dispatch(setNodeSelectionForCopy(noNodeSelectionForCopy)); | |||
// dispatch(setNodeSelectionForCopy(noNodeSelectionForCopy)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To revert I think
@@ -258,6 +268,12 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu | |||
) | |||
); | |||
}); | |||
if ( | |||
studyUpdatedForce.eventData.headers.movedNode === nodeSelectionForCopyRef.current.nodeId || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this check is already made in "isSubtreeImpactedByMovedNode" ?
@@ -266,6 +282,12 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu | |||
); | |||
} | |||
); | |||
if ( | |||
studyUpdatedForce.eventData.headers.movedNode === nodeSelectionForCopyRef.current.nodeId || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here ?
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
|
No description provided.