Skip to content

Commit

Permalink
Merge pull request #6248 from BartChris/refresh_structure_panel
Browse files Browse the repository at this point in the history
Refresh Structure panel after logical node is added and selected
  • Loading branch information
solth authored Oct 8, 2024
2 parents afcb6b7 + 777e843 commit 5efafdb
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 5efafdb

Please sign in to comment.