mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Merge pull request #3412 from wschaeferB/3402-FixAttachmentViewFileInDir
3402 compare nodes themeselves instead of node names for view file in…
This commit is contained in:
commit
9be4538fc5
@ -202,7 +202,7 @@ public class ViewContextAction extends AbstractAction {
|
|||||||
undecoratedParentNode.setChildNodeSelectionInfo(new ContentNodeSelectionInfo(content));
|
undecoratedParentNode.setChildNodeSelectionInfo(new ContentNodeSelectionInfo(content));
|
||||||
TreeView treeView = treeViewTopComponent.getTree();
|
TreeView treeView = treeViewTopComponent.getTree();
|
||||||
treeView.expandNode(parentTreeViewNode);
|
treeView.expandNode(parentTreeViewNode);
|
||||||
if (treeViewTopComponent.getSelectedNode().getDisplayName().equals(parentTreeViewNode.getDisplayName())) {
|
if (treeViewTopComponent.getSelectedNode().equals(parentTreeViewNode)) {
|
||||||
//In the case where our tree view already has the destination directory selected
|
//In the case where our tree view already has the destination directory selected
|
||||||
//due to an optimization in the ExplorerManager.setExploredContextAndSelection method
|
//due to an optimization in the ExplorerManager.setExploredContextAndSelection method
|
||||||
//the property change we listen for to call DirectoryTreeTopComponent.respondSelection
|
//the property change we listen for to call DirectoryTreeTopComponent.respondSelection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user