Playing with someone's hair is a common way to flirt. So, It can be a way to show that she is interested in you and finds you attractive.