Bugfix: correctly enable/disable function editing