mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Bug 310331 - Fix wrong element path
This commit is contained in:
parent
4ed86bfe6c
commit
d85865bdb3
1 changed files with 2 additions and 1 deletions
|
@ -143,8 +143,9 @@ public class VMViewerUpdate extends DsfExecutable implements IViewerUpdate {
|
|||
listDelta = listDelta.getParentDelta();
|
||||
elementList.add(0, listDelta.getElement());
|
||||
}
|
||||
Object viewerInput = elementList.remove(0);
|
||||
fClientUpdate = new ClientUpdatePlaceHolder(
|
||||
new TreePath(elementList.toArray()), elementList.get(0), presentationContext);
|
||||
new TreePath(elementList.toArray()), viewerInput, presentationContext);
|
||||
fRequestMonitor = requestMonitor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue