If a guy calls you pretty (unprompted) does that mean he's interested in you?

So I recently went through a breakup with someone I worked with, and it was pretty well known throughout the store that we were together/a thing. This is necessary information for the question haha. There is a guy in my department that I work in that I don't see super frequently and haven't talked to much, but recently we had an interaction that felt a bit flirty.

We were in the backroom just casually talking about work and friends we'd met there.

Him: Hey, are you dating that guy here?

Me: I *was* dating him, but we broke up

Him: Do y'all still talk?

Me: Sadly no

Him: Why not?

Me: He doesn't want to talk to me anymore

Him: Why?

Me: It's complicated man

Him: Well it's his loss. Cause you're like, WAY pretty, like, out of his league. It's *his* loss.

I then proceeded to blush hard and even told him that his comment made me so. Did this sound like flirting to y'all or just him being nice and giving a compliment? He is a cute and attractive guy but still don't want to get involved with anyone new anytime soon due to my recent breakup. Genuinely just curious about y'alls thoughts.

Also I hope me reciting the conversation doesn't make me sound like I'm bragging or anything lmao, just repeating his words not mine lol. Not saying I agree with it because I definitely do not.

Updates
1 y
EDIT: NEVERMIND Y'ALL HE'S GAY
If a guy calls you pretty (unprompted) does that mean he's interested in you?
Post Opinion