Yes, to be more specific, put wood glue in yr slot, then nail the molding in, on the back, stretch it around the panel as tight as you can, then nail it in again in back on the other side. Leave the nails.
From my experience at least half the games I buy will have nails holding in t-molding SOMEWHERE on the cabinet, it is a common repair.