diff --git a/src/stateManagement/imageIdSpecificStateManager.js b/src/stateManagement/imageIdSpecificStateManager.js index 06413fd31..bb335329e 100755 --- a/src/stateManagement/imageIdSpecificStateManager.js +++ b/src/stateManagement/imageIdSpecificStateManager.js @@ -101,7 +101,7 @@ function newImageIdSpecificToolStateManager() { if (!enabledElement.image) { return; } - clearImageIdToolState(enabledElement.imageId); + clearImageIdToolState(enabledElement.image.imageId); } function clearImageIdToolState(imageId) {