Fan/light wiring from 2 switches to combo switch
What you had is two switch legs before. Most likely on the same circuit. The wiring should go as you say and one of the original switch feeds would get capped off. Just make sure you know which wires are the hots and which go to the fan and light.
Sarcasm is my friend
I'm here to learn too, i do mostly commercial/industrial/new construction and this place is a great way to pick up tips on residential from some good electrical minds. Excuse the spelling, my phone has a mind of it's own.