Commit f6c7b0d
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 f6c7b0d
File tree
1 file changed
+6
-1
lines changed- bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/internal
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| |||
0 commit comments