Commit 18e0a60b by Torkel Ödegaard

Fixes 267, Functions without params (like integral) now causes graph to update correctly

parent c7278636
# vNext
- More graphite functions
- Fix for Text panel, now changes take effect directly (Issue #251)
- Fix when adding functions without params that did not cause graph to update (issue #267)
# 1.5.2 (2013-03-24)
### New Features and improvements
......
......@@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) {
$scope.moveAliasFuncLast();
$scope.smartlyHandleNewAliasByNode(newFunc);
if (!funcDef.params && newFunc.added) {
if (!funcDef.params.length && newFunc.added) {
$scope.targetChanged();
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment