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,7 +312,11 @@ public class BlackboardArtifactNode extends AbstractContentNode<BlackboardArtifa
|
||||
}
|
||||
|
||||
if (displayName.isEmpty() && artifact != null) {
|
||||
displayName = artifact.getName();
|
||||
try {
|
||||
displayName = Case.getCurrentCaseThrows().getSleuthkitCase().getAbstractFileById(this.artifact.getObjectID()).getName();
|
||||
} catch (TskCoreException | NoCurrentCaseException ex) {
|
||||
displayName = artifact.getName();
|
||||
}
|
||||
}
|
||||
|
||||
this.setDisplayName(displayName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user