mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
2740 moved Properties context action adding to after null content check
This commit is contained in:
parent
5d037a403c
commit
2174f2c040
@ -162,9 +162,10 @@ class DirectoryTreeFilterNode extends FilterNode {
|
||||
@Override
|
||||
public Action[] getActions(boolean context) {
|
||||
List<Action> actions = new ArrayList<>();
|
||||
actions.addAll(Arrays.asList(super.getActions(true)));
|
||||
|
||||
final Content content = this.getLookup().lookup(Content.class);
|
||||
if (content != null) {
|
||||
actions.addAll(Arrays.asList(super.getActions(true)));
|
||||
if (content instanceof Volume) {
|
||||
actions.add(new FileSystemDetailsAction((Volume) content));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user