| 343 | self.remove(proj) |
| 344 | |
| 345 | def insert(self, idx, proj): |
| 346 | if proj.isInvalid: |
| 347 | # we must include it before we remove it. doing it this way ensures |
| 348 | # rows and relationships in database are removed as well |
| 349 | HandledList.insert(self, idx, proj) |
| 350 | self.remove(proj) |
| 351 | return |
| 352 | proj.projected = True |
| 353 | HandledList.insert(self, idx, proj) |
| 354 | # Remove non-projectable modules |
| 355 | if not proj.item.isType("projected") and not proj.isExclusiveSystemEffect: |
| 356 | self.remove(proj) |
| 357 | |
| 358 | @property |
| 359 | def currentSystemEffect(self): |