src/Builder4/GladeuiView.bjs
authorAlan <alan@roojs.com>
Mon, 30 May 2022 03:09:18 +0000 (11:09 +0800)
committerAlan <alan@roojs.com>
Mon, 30 May 2022 03:09:18 +0000 (11:09 +0800)
src/Builder4/GladeuiView.vala

src/Builder4/GladeuiView.bjs
src/Builder4/GladeuiView.vala

index 2dd5b29..e75141f 100644 (file)
@@ -40,7 +40,7 @@
       {
        "# JsRender.JsRender file" : "null",
        "$ xns" : "Glade",
-       "* ctor" : "new Glade.DesignView(_this.gladeproject=new Glade.Project())",
+       "* ctor" : "new Glade.DesignView(_this.main_window.gladeproject)",
        "* init" : [
         " ",
         "this.el.show();",
index a6d277f..9332eba 100644 (file)
@@ -294,7 +294,7 @@ public class Xcls_GladeuiView : Object
         {
             _this = _owner;
             _this.designview = this;
-            this.el = new Glade.DesignView(_this.gladeproject=new Glade.Project());
+            this.el = new Glade.DesignView(_this.main_window.gladeproject);
 
             // my vars (dec)
             this.file = null;