src/Builder4/WindowState.vala
[app.Builder.js] / src / Builder4 / WindowState.vala
index 969dec2..c4d7df6 100644 (file)
@@ -121,7 +121,7 @@ public class WindowState : Object
                   
                this.left_tree.before_node_change.connect(() => {
                        // if the node change is caused by the editor (code preview)
-                       if (this.left_tree.tree.lastEventSource == "editor") {
+                       if (this.left_tree.view.lastEventSource == "editor") {
                                return false;
                        }
                        return this.leftTreeBeforeChange();