src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Tue, 31 May 2022 06:55:21 +0000 (14:55 +0800)
committerAlan <alan@roojs.com>
Tue, 31 May 2022 06:55:21 +0000 (14:55 +0800)
src/Builder4/PopoverFiles.vala

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

index 78fad4e..8c1f3c6 100644 (file)
              "    if (fn.length < 1) {",
              "    \treturn;",
              "\t}",
-             "    ",
+             "     _this.el.hide();",
              "    ",
              "    var f = JsRender.JsRender.factory(\"PlainFile\", _this.selectedProject, fn);",
              "   ",
              "    _this.win.windowstate.fileViewOpen(f);",
-             "    _this.el.hide();",
+             "   ",
              "    ",
              "}"
             ]
index 0cfa6ce..345347a 100644 (file)
@@ -955,12 +955,12 @@ public class Xcls_PopoverFiles : Object
                 if (fn.length < 1) {
                        return;
                }
-                
+                 _this.el.hide();
                 
                 var f = JsRender.JsRender.factory("PlainFile", _this.selectedProject, fn);
                
                 _this.win.windowstate.fileViewOpen(f);
-                _this.el.hide();
+               
                 
             });
             this.el.cursor_changed.connect( () => {