src/Builder4/EditProject.bjs
authorAlan <alan@roojs.com>
Thu, 4 Jan 2024 09:40:11 +0000 (17:40 +0800)
committerAlan <alan@roojs.com>
Thu, 4 Jan 2024 09:40:11 +0000 (17:40 +0800)
src/Builder4/EditProject.vala

src/Builder4/EditProject.bjs
src/Builder4/EditProject.vala

index fb1e48b..5b235ad 100644 (file)
          " \t\t_this.result = project;",
          "\t\tif (is_new_folder || is_existing) {",
          "\t    \t _this.windowstate.projectPopoverShow(",
-         "\t    \t \t_this.el, project, (pr) => {",
-         "\t    \t \t\tthis.doneObj.call(pr);",
-         "\t    \t \t});",
+         "\t    \t \t_this.el, project,  this.doneObj.call );",
          "    \t } else {",
          "\t    \t _this.doneObj.call(this.project);",
          "    \t }",
index 0bdccf5..c1fc8a0 100644 (file)
                                _this.result = project;
                                if (is_new_folder || is_existing) {
                                 _this.windowstate.projectPopoverShow(
-                                       _this.el, project, (pr) => {
-                                               this.doneObj.call(pr);
-                                       });
+                                       _this.el, project,  this.doneObj.call );
                         } else {
                                 _this.doneObj.call(this.project);
                         }