That could sound patronising in a different context, but Hermione feels a flood of arousal. She takes it as affirmation, validation. She had no idea she'd react this way to comments like that and her eyes flutter closed.