f2b2c4 Fix for crash inserting a keyframe (#798)

1 file Authored by Campbell Barton 7 years ago , Committed by shun-iwasawa 7 years ago ,
    Fix for crash inserting a keyframe (#798)
    
    Make a copy of `TParamChange` in `FunctionTreeModel::onChange()` since the notifier would run later on (via Qt's event loop).