From: mka Date: Wed, 29 May 2013 10:03:04 +0000 (+0000) Subject: fix for issue: after versioning operation and import operation the comments are lost X-Git-Tag: Delivery_V1_0_2013_07_12~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09fa7ca4063f18c5c8389015e43d306f331a25f9;p=tools%2Fsiman.git fix for issue: after versioning operation and import operation the comments are lost --- diff --git a/Workspace/Siman/src/org/splat/simer/EditStepCommentAction.java b/Workspace/Siman/src/org/splat/simer/EditStepCommentAction.java index 98c4f82..51bc879 100644 --- a/Workspace/Siman/src/org/splat/simer/EditStepCommentAction.java +++ b/Workspace/Siman/src/org/splat/simer/EditStepCommentAction.java @@ -111,6 +111,7 @@ public class EditStepCommentAction extends DisplayStudyStepAction { LOG.debug("Error while trying to add comment: " + error.getMessage()); } } + doOpen(); //update all project elements, as comments are their attributes doDisplayComments(); return SUCCESS; } @@ -127,6 +128,7 @@ public class EditStepCommentAction extends DisplayStudyStepAction { } catch(InvalidParameterException error) { LOG.debug("Error while trying to remove comment: " + error.getMessage()); } + doOpen(); //update all project elements, as comments are their attributes doDisplayComments(); return SUCCESS; } @@ -143,6 +145,7 @@ public class EditStepCommentAction extends DisplayStudyStepAction { } catch(InvalidParameterException error) { LOG.debug("Error while trying to remove comment: " + error.getMessage()); } + doOpen(); //update all project elements, as comments are their attributes doDisplayComments(); return SUCCESS; }