From ded85585454774c767d77d238700432db46c14bb Mon Sep 17 00:00:00 2001 From: adam-m Date: Fri, 1 Mar 2013 11:50:31 -0500 Subject: [PATCH] add a comment about a bug --- .../autopsy/corecomponents/AbstractDataResultViewer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/AbstractDataResultViewer.java b/Core/src/org/sleuthkit/autopsy/corecomponents/AbstractDataResultViewer.java index da3f69e4e3..1f7228b212 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/AbstractDataResultViewer.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/AbstractDataResultViewer.java @@ -86,6 +86,10 @@ public abstract class AbstractDataResultViewer extends JPanel implements // there's a new/changed node to display Node newSelectedNode = selectedNode; // get the selected Node on the table // push the node to default "DataContent" + //TODO only the active viewer should be calling setNode + //not all of them, otherwise it results in multiple setNode() invocations + //alternative is to use a single instance of the event listener + //, per top component and not the tab perhaps contentViewer.setNode(newSelectedNode); } else { // clear the node viewer