Skip to content

Commit

Permalink
Fixes NPE in by expand and collapse context menu
Browse files Browse the repository at this point in the history
Closes #4309
Issue: #4311
Signed-off-by: Alexander Ott <webmaster@nirus-online.de>
[cherry-picked the line fixing the issue]
Signed-off-by: Andreas Buchen <andreas.buchen@gmail.com>
  • Loading branch information
Nirus2000 authored and buchen committed Nov 9, 2024
1 parent 12beed4 commit e143c41
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ private void fillContextMenu(IMenuManager manager) // NOSONAR

private void addTreeActionsContextMenu(IMenuManager manager, Object obj)
{
if (obj == null)
return;

manager.add(new Action(Messages.LabelExpand)
{
@Override
Expand Down

0 comments on commit e143c41

Please sign in to comment.