Skip to content

Commit bc2f62c

Browse files
Neha Burnwalgireeshpunathil
authored andcommitted
Updating marker to disable Quick Fix option when no fixes are available
1 parent 85e7255 commit bc2f62c

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
@@ -159,7 +159,7 @@ public IMarkerResolution[] getNonConfigSevResolutions(IMarker marker) {
159159
*/
160160
int getProblemId(IMarker marker) {
161161
int problemID = marker.getAttribute(PDEMarkerFactory.PROBLEM_ID, PDEMarkerFactory.NO_RESOLUTION);
162-
if (problemID != PDEMarkerFactory.NO_RESOLUTION) {
162+
if (problemID != PDEMarkerFactory.NO_RESOLUTION && problemID != PDEMarkerFactory.M_ONLY_CONFIG_SEV) {
163163
return problemID;
164164
}
165165
return marker.getAttribute("id", PDEMarkerFactory.NO_RESOLUTION); //$NON-NLS-1$

0 commit comments

Comments
 (0)