Her sexual preference is of no importance if she is a competent captain. If her sexual preference made her captain without competence is of great importance. Forget her sexual preference. The problem is her sex.
I'd rather a gay man than a straight woman in charge of a Navy vessel.