Step 1: Look at the ironmaster's motive:
His welcome was based on a mistake and was conditional. It vanished when he learnt that the man was only a vagabond.
Step 2: Look at Edla's motive:
Edla pitied the peddler and welcomed him as a guest for Christmas. Being trusted so fully made him ashamed of his thefts.
Final Answer:
The ironmaster was kind only because he thought the peddler was an old regimental friend, and he wanted him to leave when he learnt the truth. Edla, however, welcomed him without conditions and invited him for Christmas. Her genuine compassion awakened his conscience and transformed him.