The Nebraska Supreme Court has barred from the November ballot a measure that would have allowed electronic betting on previously run horse races. 

The court said in its ruling issued Friday that the measure violated the state's constitutional provision against asking voters to cast one vote on two unrelated issues.

The court directed Secretary of State John Gale not to certify the measure or place it before voters on Nov. 4 ballot. 

An attorney for Omaha anti-gambling activist Pat Loontjer had asked for the ruling against the measure, which state lawyers had defended as constitutional.