src/JsRender/Node.vala
authorAlan <alan@roojs.com>
Thu, 22 Feb 2024 05:13:13 +0000 (13:13 +0800)
committerAlan <alan@roojs.com>
Thu, 22 Feb 2024 05:13:13 +0000 (13:13 +0800)
src/JsRender/Node.vala

index 394a0f8..eea58d3 100644 (file)
@@ -127,7 +127,7 @@ public class JsRender.Node : GLib.Object {
                                
                        //GLib.debug("Update Node %d p%d - rev %d", this.oid, this.parent != null ? this.parent.oid : -1, value);
                        if (this.parent != null) {
-                               this.parent.updated_count++;
+                               this.parent.updated_count++; // will recurse up.
                        }  else {
                                if (this.file != null) {
                                        this.file.updateUndo();