def _closeSlot(self, slotIdx): UnitBase._closeSlot(self, slotIdx) self.onUnitSettingChanged(UNIT_OP.CLOSE_SLOT, slotIdx)