src/Builder4/WindowLeftTree.bjs
authorAlan <alan@roojs.com>
Wed, 17 Aug 2022 09:50:31 +0000 (17:50 +0800)
committerAlan <alan@roojs.com>
Wed, 17 Aug 2022 09:50:31 +0000 (17:50 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index 70c32d4..2f6c7a8 100644 (file)
          "\t\treturn false;",
          "\t}",
          "    if (_this.model.el.iter_n_children(null) < 1) {",
-         "\t    _this.main_window.windowstate.showAddObject(this.view.el);",
+         "\t    _this.main_window.windowstate.showAddObject(_this.view.el);",
          "\t    return true;",
          "    }",
          "    ",
index fc13810..3d6d4d5 100644 (file)
@@ -278,7 +278,7 @@ public class Xcls_WindowLeftTree : Object
                        return false;
                }
                 if (_this.model.el.iter_n_children(null) < 1) {
-                   _this.main_window.windowstate.showAddObject(this.view.el);
+                   _this.main_window.windowstate.showAddObject(_this.view.el);
                    return true;
                 }