Let $\displaystyle A$ be a quasi-local domain (i.e. a commutative domain with finitely many maximal ideals). Suppose that for every maximal ideal $\displaystyle M$ of $\displaystyle A$, the localization $\displaystyle A_M$ is a P.I.D. Show that $\displaystyle A$ is a P.I.D.