_mystudy.add(addoc); // Updates the presentation
} else {
// Re-opening (refreshing) the currently open study
- String selection = _mystudy.getSelection();
- _mystudy = open(getStudyService().selectStudy(
- _mystudy.getIndex())); // Updates the study
- _mystudy.setSelection(selection);
+ refreshStudy();
}
res = SUCCESS;
} catch (FileNotFoundException error) {