X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Workspace%2FSiman%2Fsrc%2Forg%2Fsplat%2Fsimer%2FEditDocumentAction.java;fp=Workspace%2FSiman%2Fsrc%2Forg%2Fsplat%2Fsimer%2FEditDocumentAction.java;h=8602af85bf3da48d50b83b7d7f24c5e365182765;hb=6273a46aa9ca47e2a4f1eb08a0230ec9f1b44f57;hp=d168d5c4678d635e38b42cb5624b93c1042a9142;hpb=d71796668bef300bf69bd7e97591e78f6ec6612f;p=tools%2Fsiman.git diff --git a/Workspace/Siman/src/org/splat/simer/EditDocumentAction.java b/Workspace/Siman/src/org/splat/simer/EditDocumentAction.java index d168d5c..8602af8 100644 --- a/Workspace/Siman/src/org/splat/simer/EditDocumentAction.java +++ b/Workspace/Siman/src/org/splat/simer/EditDocumentAction.java @@ -207,6 +207,8 @@ public class EditDocumentAction extends DisplayStudyStepAction { setMenu(); _openStudy = getOpenStudy(); + // updating current step and doc relations + _openStudy.updateCurrentStep(); Step step = _openStudy.getSelectedStep(); if (getStepService().removeDocument(step, Long.valueOf(_index))) { // Updates the data structure @@ -216,6 +218,8 @@ public class EditDocumentAction extends DisplayStudyStepAction { } _openStudy = open(getStudyService().selectStudy( _openStudy.getIndex())); // Closes the previously open study + //updating relations and pop-up menu + _openStudy.updateCurrentStep(); _openStudy.setSelection(_selection); } return SUCCESS;