Commit e9b85b4
committed
#14226 Set IJK intersection defaults before scheduling redraw
The feature appended with appendIjkIntersectionAndUpdate and set the
default values afterwards, which only worked because the scheduled redraw
is asynchronous and the part manager is built lazily. It also repeated
the updateConnectedEditors and selectAsCurrentItem calls already done by
the append. Append without update, set the defaults, then update editors,
select the new item and schedule the redraw once.
Note that setToDefaultValues() cannot run before the append: it resolves
the grid through the parent view, so the intersection must be in the
project tree first.1 parent 8ddf3e0 commit e9b85b4
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | | - | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
0 commit comments