Commit 286c2ac
committed
Fixed a bug in IfThenElse/Switch for the following sequence:
1. set binary to valid data and then "expand_all()"
2. clear binary data (invalidate) so that the structure is showed in the dvc. For IfThenElse/Switch this means, that an extra level dvc level is inserted.
3. set binary to valid data again and then "expand_all()"
4. try to modify an item. This produced an error "... wxDataViewMainWindow::DoItemChanged(): invalid item" and is now fixed.
Problem was, that when inserting an extra level an removing it again to the parent_dvc_item was not correctly calculated again.1 parent cd0f178 commit 286c2ac
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
480 | 492 | | |
481 | 493 | | |
482 | 494 | | |
| |||
974 | 986 | | |
975 | 987 | | |
976 | 988 | | |
| 989 | + | |
977 | 990 | | |
978 | 991 | | |
979 | 992 | | |
| |||
1066 | 1079 | | |
1067 | 1080 | | |
1068 | 1081 | | |
| 1082 | + | |
1069 | 1083 | | |
1070 | 1084 | | |
1071 | 1085 | | |
| |||
1528 | 1542 | | |
1529 | 1543 | | |
1530 | 1544 | | |
| 1545 | + | |
1531 | 1546 | | |
1532 | 1547 | | |
1533 | 1548 | | |
| |||
1607 | 1622 | | |
1608 | 1623 | | |
1609 | 1624 | | |
| 1625 | + | |
1610 | 1626 | | |
1611 | 1627 | | |
1612 | 1628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| 305 | + | |
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| |||
0 commit comments