(self)
| 84 | self.mainFrame.Unbind(GE.ITEM_CHANGED_INPLACE) |
| 85 | |
| 86 | def _fetchValues(self): |
| 87 | if self.stuff is None: |
| 88 | self.attrInfo.clear() |
| 89 | self.attrValues.clear() |
| 90 | self.attrInfo.update(self.item.attributes) |
| 91 | self.attrValues.update(self.item.attributes) |
| 92 | elif self.isStuffItem: |
| 93 | self.attrInfo.clear() |
| 94 | self.attrValues.clear() |
| 95 | self.attrInfo.update(self.stuff.item.attributes) |
| 96 | self.attrValues.update(self.stuff.itemModifiedAttributes) |
| 97 | elif self.isStuffCharge: |
| 98 | self.attrInfo.clear() |
| 99 | self.attrValues.clear() |
| 100 | self.attrInfo.update(self.stuff.charge.attributes) |
| 101 | self.attrValues.update(self.stuff.chargeModifiedAttributes) |
| 102 | # When item for stats window no longer exists, don't change anything |
| 103 | else: |
| 104 | return |
| 105 | |
| 106 | def UpdateList(self): |
| 107 | self.Freeze() |
no test coverage detected