Skip to content

Commit d4974f9

Browse files
Merge pull request #361 from Checkmarx/other/AST-126974
Ignore options in right click popup are hidden (AST-126974)
2 parents fede92b + 4e4c835 commit d4974f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/com/checkmarx/intellij/devassist/ui/findings/window/CxFindingsWindow.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,13 @@ private JPopupMenu createPopupMenu(ScanIssue detail) {
401401
copyDescription.setIcon(CxIcons.STAR_ACTION);
402402
popup.add(copyDescription);
403403

404-
JMenuItem ignoreOption = new JMenuItem(Constants.RealTimeConstants.IGNORE_THIS_VULNERABILITY_FIX_NAME);
405-
ignoreOption.setIcon(CxIcons.STAR_ACTION);
406-
popup.add(ignoreOption);
407-
408-
JMenuItem ignoreAllOption = new JMenuItem(Constants.RealTimeConstants.IGNORE_ALL_OF_THIS_TYPE_FIX_NAME);
409-
ignoreAllOption.setIcon(CxIcons.STAR_ACTION);
410-
popup.add(ignoreAllOption);
404+
// JMenuItem ignoreOption = new JMenuItem(Constants.RealTimeConstants.IGNORE_THIS_VULNERABILITY_FIX_NAME);
405+
// ignoreOption.setIcon(CxIcons.STAR_ACTION);
406+
// popup.add(ignoreOption);
407+
//
408+
// JMenuItem ignoreAllOption = new JMenuItem(Constants.RealTimeConstants.IGNORE_ALL_OF_THIS_TYPE_FIX_NAME);
409+
// ignoreAllOption.setIcon(CxIcons.STAR_ACTION);
410+
// popup.add(ignoreAllOption);
411411
popup.add(new JSeparator());
412412

413413
JMenuItem copyFix = new JMenuItem("Copy");

0 commit comments

Comments
 (0)