On the 1099-G entry screen, put a checkmark in the box that says Federal or State tax was withheld on this payment.