Carl Malm is a goodhearted man who runs a railway station. He lives together with his maid and her seven kids.
The wealthy hat maker Cederström has two daughters, Marianne and Lotte. He has decided that Marianne should marry Melander even though she loves the poet Malm. Lotte on the other hand loves Melander.