Skip to content

Commit d77c8d9

Browse files
author
Neha Burnwal
committed
Updating marker to disable Quick Fix option when no fixes are available
1 parent 975f72b commit d77c8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/correction/ResolutionGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public IMarkerResolution[] getNonConfigSevResolutions(IMarker marker) {
158158
*/
159159
int getProblemId(IMarker marker) {
160160
int problemID = marker.getAttribute(PDEMarkerFactory.PROBLEM_ID, PDEMarkerFactory.NO_RESOLUTION);
161-
if (problemID != PDEMarkerFactory.NO_RESOLUTION) {
161+
if (problemID != PDEMarkerFactory.NO_RESOLUTION && problemID != PDEMarkerFactory.M_ONLY_CONFIG_SEV) {
162162
return problemID;
163163
}
164164
return marker.getAttribute("id", PDEMarkerFactory.NO_RESOLUTION); //$NON-NLS-1$

0 commit comments

Comments
 (0)