f2b2c4 Fix for crash inserting a keyframe (#798)

1 file Authored by Campbell Barton 8 years ago , Committed by shun-iwasawa 8 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).