mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Fix for artifacts not getting filtered out of data source results.
This commit is contained in:
parent
a1d8832abb
commit
f33dc7ffd6
@ -232,7 +232,7 @@ public class DataResultFilterNode extends FilterNode {
|
|||||||
private static class DataResultFilterChildren extends FilterNode.Children {
|
private static class DataResultFilterChildren extends FilterNode.Children {
|
||||||
|
|
||||||
private final ExplorerManager sourceEm;
|
private final ExplorerManager sourceEm;
|
||||||
private boolean filterArtifacts; // display message artifacts in the DataSource subtree
|
private final boolean filterArtifacts; // display message artifacts in the DataSource subtree
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the constructor
|
* the constructor
|
||||||
@ -240,7 +240,8 @@ public class DataResultFilterNode extends FilterNode {
|
|||||||
private DataResultFilterChildren(Node arg, ExplorerManager sourceEm) {
|
private DataResultFilterChildren(Node arg, ExplorerManager sourceEm) {
|
||||||
super(arg);
|
super(arg);
|
||||||
|
|
||||||
this.filterArtifacts = false;
|
filterArtifacts = SelectionContext.getSelectionContext(arg).equals(SelectionContext.DATA_SOURCES);
|
||||||
|
|
||||||
this.sourceEm = sourceEm;
|
this.sourceEm = sourceEm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user