mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-70961: 'Toggle Method Breakpoint/Field Watchpoint' shouldn't be present in the popup menu on a navbar module node
This commit is contained in:
+2
-1
@@ -93,7 +93,8 @@ public class ToggleMethodBreakpointAction extends AnAction {
|
||||
|
||||
if (ActionPlaces.PROJECT_VIEW_POPUP.equals(event.getPlace()) ||
|
||||
ActionPlaces.STRUCTURE_VIEW_POPUP.equals(event.getPlace()) ||
|
||||
ActionPlaces.FAVORITES_VIEW_POPUP.equals(event.getPlace())) {
|
||||
ActionPlaces.FAVORITES_VIEW_POPUP.equals(event.getPlace()) ||
|
||||
ActionPlaces.NAVIGATION_BAR.equals(event.getPlace())) {
|
||||
final PsiElement psiElement = event.getData(LangDataKeys.PSI_ELEMENT);
|
||||
if(psiElement instanceof PsiMethod) {
|
||||
final PsiFile containingFile = psiElement.getContainingFile();
|
||||
|
||||
Reference in New Issue
Block a user