The shadow Scottish secretary was the only candidate nominated for the job left vacant since December.