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

Bug 310331 - Fix wrong element path

This commit is contained in:
Anton Leherbauer 2010-05-17 10:51:36 +00:00
parent 4ed86bfe6c
commit d85865bdb3

View file

@ -143,8 +143,9 @@ public class VMViewerUpdate extends DsfExecutable implements IViewerUpdate {
listDelta = listDelta.getParentDelta(); listDelta = listDelta.getParentDelta();
elementList.add(0, listDelta.getElement()); elementList.add(0, listDelta.getElement());
} }
Object viewerInput = elementList.remove(0);
fClientUpdate = new ClientUpdatePlaceHolder( fClientUpdate = new ClientUpdatePlaceHolder(
new TreePath(elementList.toArray()), elementList.get(0), presentationContext); new TreePath(elementList.toArray()), viewerInput, presentationContext);
fRequestMonitor = requestMonitor; fRequestMonitor = requestMonitor;
} }