There are three possibilities:
The OP realized that by accepting your answer, it is already clear that your answer is correct. Therefore, the OP chose to delete the comment.
A moderator (possibly from a flag) chose to delete the comment to prevent comment clutter.
The comment started with
Thanks!
and thus was automatically deleted after someone flagged it. (Credit to rene for pointing this out!)
In all cases, it has nothing to do with you. Don't worry about it.