src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 20 May 2022 06:46:50 +0000 (14:46 +0800)
committerAlan <alan@roojs.com>
Fri, 20 May 2022 06:46:50 +0000 (14:46 +0800)
src/Builder4/PopoverFiles.vala
src/Builder4/WindowState.vala

src/Builder4/PopoverFiles.bjs
src/Builder4/PopoverFiles.vala

index 57f4385..c673084 100644 (file)
              "",
              "    this.el.model.get_value(iter, 0 , out gval);",
              "    var file = (JsRender.JsRender)gval;",
-             "    this.mainwindow.windowstate.fileViewOpen(file);",
+             "    _this.win.windowstate.fileViewOpen(file);",
              "    this.el.hide();",
              "    ",
              "    ",
index 9810538..0eb056a 100644 (file)
@@ -856,7 +856,7 @@ public class Xcls_PopoverFiles : Object
             
                 this.el.model.get_value(iter, 0 , out gval);
                 var file = (JsRender.JsRender)gval;
-                this.mainwindow.windowstate.fileViewOpen(file);
+                _this.win.windowstate.fileViewOpen(file);
                 this.el.hide();