Salome HOME
Promote, Demote, Validate... operations are available without refresh operation.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / DisplayStudyStepAction.java
index 8d377558d3712d7680b29c8b2a657b946a6bae08..7e35326812ea6fcc66280549fff167d36c3ee585 100644 (file)
@@ -48,11 +48,11 @@ public class DisplayStudyStepAction extends AbstractDisplayAction {
                if (_myindex == null) {
                        if (_selection == null) { // Opening a study just newed
                                _selection = _openStudy.getSelection(); // Default selection
-                       } else { // Re-opening (refreshing) the currently open study
-                               _openStudy = open(getStudyService().selectStudy(
-                                               _openStudy.getIndex())); // Closes the previously open study
-                               _openStudy.setSelection(_selection);
-                       }
+                       } 
+                       // Re-opening (refreshing) the currently open study
+                       _openStudy = open(getStudyService().selectStudy(
+                                       _openStudy.getIndex())); // Closes the previously open study
+                       _openStudy.setSelection(_selection);
                } else {
                        try { // Opening a study from the search result
                                int index = Integer.valueOf(_myindex);