Fix InlineTimingFunctionEditor undo for cmv4

This is for #7334 

cc @njx