mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Model builder running in UI-thread, partial fix for 238940.
This commit is contained in:
parent
2b164faf3e
commit
c1c3d5dffd
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ public class CViewElementComparer implements IElementComparer {
|
|||
if (c1 == null || c2 == null)
|
||||
return false;
|
||||
|
||||
if (c1.getElementType() != c2.getElementType())
|
||||
return false;
|
||||
|
||||
// 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
|
||||
// case it should be equal as the original element.
|
||||
|
|
Loading…
Add table
Reference in a new issue