Fixes issue where layer model wasn't being updated in NSBFunctionView
Merge pull request #7 from sampage/master

Fixes issue where layer model wasn't being updated in NSBFunctionView