1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Model builder running in UI-thread, partial fix for 238940.

This commit is contained in:
Markus Schorn 2008-07-02 13:49:48 +00:00
parent 2b164faf3e
commit c1c3d5dffd

View file

@ -32,6 +32,9 @@ public class CViewElementComparer implements IElementComparer {
if (c1 == null || c2 == null) if (c1 == null || c2 == null)
return false; return false;
if (c1.getElementType() != c2.getElementType())
return false;
// Below is for children of TranslationUnits but we have to make sure // Below is for children of TranslationUnits but we have to make sure
// we handle the case that the child comes from the a workingCopy in that // we handle the case that the child comes from the a workingCopy in that
// case it should be equal as the original element. // case it should be equal as the original element.