src/JsRender/Node.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 09:24:06 +0000 (17:24 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 09:24:06 +0000 (17:24 +0800)
src/JsRender/Node.vala

index 8129b3a..ab3bfb4 100644 (file)
@@ -123,10 +123,13 @@ public class JsRender.Node : GLib.Object {
                        this.nodeTitleProp = ""; // ?? should trigger set?
                        this.iconFilename = "";
                        this._updated_count = value;
+                               
                        //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++;
                        }  else {
+                               GLib.debug("UNDO top node is %d", value);
                                this.version_changed();
                        }
                }