mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Update BlackboardArtifactNode.java
Get file name instead of artifact name for when you hover over the artifact
This commit is contained in:
parent
f11a6ac526
commit
43d59301c1
@ -312,8 +312,12 @@ public class BlackboardArtifactNode extends AbstractContentNode<BlackboardArtifa
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (displayName.isEmpty() && artifact != null) {
|
if (displayName.isEmpty() && artifact != null) {
|
||||||
|
try {
|
||||||
|
displayName = Case.getCurrentCaseThrows().getSleuthkitCase().getAbstractFileById(this.artifact.getObjectID()).getName();
|
||||||
|
} catch (TskCoreException | NoCurrentCaseException ex) {
|
||||||
displayName = artifact.getName();
|
displayName = artifact.getName();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.setDisplayName(displayName);
|
this.setDisplayName(displayName);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user