Browse Source

Fixed: Error markers weren't added to the corresponding notation view element.

markus.muehlbrandt@gmail.com 12 years ago
parent
commit
e4730b70be

+ 1 - 1
plugins/org.yakindu.sct.model.stext.ui/src/org/yakindu/sct/model/stext/ui/validation/SCTDiagnosticConverterImpl.java

@@ -70,7 +70,7 @@ public class SCTDiagnosticConverterImpl extends DiagnosticConverterImpl {
 			while (eAllContents.hasNext()) {
 				EObject next = eAllContents.next();
 				if (next instanceof View) {
-					if (EcoreUtil.equals(((View) next).getElement(), semanticElement)) {
+					if (((View) next).getElement() == semanticElement) {
 						return ((View) next);
 					}
 				}