Skip to content

Commit

Permalink
Ensure that Structure Panel is refreshed after adding a new logical s…
Browse files Browse the repository at this point in the history
…tructure
  • Loading branch information
BartChris committed Oct 2, 2024
1 parent 3a577cc commit 777e843
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private void addSingleDocStruc(boolean selectViews) {
if (Objects.nonNull(selectedLogicalTreeNode)) {
this.dataEditor.getStructurePanel().setSelectedLogicalNode(selectedLogicalTreeNode);
this.dataEditor.getMetadataPanel().showLogical(this.dataEditor.getSelectedStructure());
dataEditor.refreshStructurePanel();
}
List<Pair<PhysicalDivision, LogicalDivision>> selectedMedia = this.dataEditor.getSelectedMedia().stream()
.sorted(Comparator.comparingInt(p -> p.getLeft().getOrder()))
Expand Down

0 comments on commit 777e843

Please sign in to comment.