mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #5491 from raman-bt/5871-classcastexception
5871: Class cast exception.
This commit is contained in:
commit
6ad0283d30
@ -136,12 +136,13 @@ public class DataResultFilterNode extends FilterNode {
|
||||
public Action[] getActions(boolean popup) {
|
||||
|
||||
List<Action> actions = new ArrayList<>();
|
||||
|
||||
if (this.getOriginal() instanceof DisplayableItemNode) {
|
||||
final DisplayableItemNode originalNode = (DisplayableItemNode) this.getOriginal();
|
||||
List<Action> accept = originalNode.accept(getActionsDIV);
|
||||
if (accept != null) {
|
||||
actions.addAll(accept);
|
||||
}
|
||||
}
|
||||
|
||||
//actions.add(new IndexContentFilesAction(nodeContent, "Index"));
|
||||
return actions.toArray(new Action[actions.size()]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user