From 62d0754b3365d5cb4aa03f478cf6a97639b0aaf3 Mon Sep 17 00:00:00 2001 From: AlexandreS <32449369+AlexandreSi@users.noreply.github.com> Date: Tue, 28 Mar 2023 15:36:17 +0200 Subject: [PATCH] Update properties panel after paste or duplication of instances (#5171) --- newIDE/app/src/SceneEditor/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newIDE/app/src/SceneEditor/index.js b/newIDE/app/src/SceneEditor/index.js index e61548ea40..cbefd0f836 100644 --- a/newIDE/app/src/SceneEditor/index.js +++ b/newIDE/app/src/SceneEditor/index.js @@ -1240,6 +1240,7 @@ export default class SceneEditor extends React.Component { multiSelect: true, layersVisibility: null, }); + this.forceUpdatePropertiesEditor(); }; paste = ({ useLastCursorPosition }: CopyCutPasteOptions = {}) => { @@ -1280,6 +1281,7 @@ export default class SceneEditor extends React.Component { multiSelect: true, layersVisibility: null, }); + this.forceUpdatePropertiesEditor(); }; onSelectAllInstancesOfObjectInLayout = (objectName: string) => {