Skip to content

Commit

Permalink
sepinf-inc#2291: fix loading the content when changing item and viewe…
Browse files Browse the repository at this point in the history
…r tab
  • Loading branch information
aberenguel committed Aug 15, 2024
1 parent 69089c1 commit fd294d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iped-app/src/main/java/iped/app/ui/ViewerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public boolean hasHits() {
}

public void updateViewer(AbstractViewer viewer, boolean clean) {
if (viewer.getPanel().isShowing() || (viewer.equals(textViewer) && hasHits())) {
if (viewer.getPanel().isVisible() || (viewer.equals(textViewer) && hasHits())) {
if (isInitialized())
loadInViewer(viewer);
DefaultSingleCDockable dock = dockPerViewer.get(viewer);
Expand Down

0 comments on commit fd294d9

Please sign in to comment.