Commit e33c137
Fix NPE when Find action is unavailable in Expressions view
The Find action may be unavailable when the focus is outside the
Expressions view, which leads to an NPE in fillContextMenu.
This adds a null and enablement check for the Find action to resolve
the problem.1 parent 81910d7 commit e33c137
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
0 commit comments