resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / WindowLeftTree.vala
index 4b9a757..983284b 100644 (file)
@@ -152,10 +152,11 @@ public class Xcls_WindowLeftTree : Object
             this.el.button_press_event.connect( ( ev) => {
                 //console.log("button press?");
                 this.lastEventSource = "tree";
-                if (! _this.before_node_change(null) ) {
+                if (! _this.before_node_change() ) {
                 
                    return true;
                 }
+                
             
                 
                 if (ev.type != Gdk.EventType.BUTTON_PRESS  || ev.button != 3) {
@@ -229,7 +230,7 @@ public class Xcls_WindowLeftTree : Object
                  if (this.blockChanges) { // probably not needed.. 
                    return  ;
                  }
-                  if (!_this.before_node_change(null) ) {
+                  if (!_this.before_node_change( ) ) {
                     this.blockChanges = true;
                     this.el.get_selection().unselect_all();
                     this.blockChanges = false;
@@ -831,9 +832,10 @@ public class Xcls_WindowLeftTree : Object
         }
         public void setCursor (string treepath, string sourceEvent)   {
                this.lastEventSource = sourceEvent;
-               this.blockChanges = true;
+               //this.blockChanges = true; << block changes prevents loading of 'node data' and firing of node_selected..
             this.el.set_cursor(new Gtk.TreePath.from_string(treepath), null, false); 
-            this.blockChanges = false;
+            // fire node_selected..
+            //this.blockChanges = false;
                this.lastEventSource = "";
         }
         public           void selectNode (string treepath_str, string source) {