It was when
It was not until
Only when
Only if
本题考查部分倒装。Only when 只有当…才能,位于句首,句子要发生部分倒装。Only if 只要…就。句意:直到1945年和平终于到来,他才得以重返工作岗位。