Wiktionary
when one door shuts, another door opens
prov. (alternative form of when one door closes, another opens English)