Commit e6eda38
committed
Increment the index after the element was added to the list
Currently elements are merged in reverse order if an insert index is
give because the add is always performed at the original index.
This now do the following:
- on each insert operation the index is incremented if given
- if the index is larger than the list size the element is added
instead.1 parent 328646d commit e6eda38
File tree
1 file changed
+1
-0
lines changed- bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/internal
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| |||
0 commit comments