Fix #7959 - new project flow - use void func to callback after each step, tidy up...
[roobuilder] / src / Builder4 / MainWindow.bjs
index 2d956ba..337bf15 100644 (file)
           "clicked" : [
            "  ( ) => {",
            "     ",
-           "     _this.windowstate.projectPopoverShow(_this.el, null);",
+           "     _this.windowstate.projectPopoverShow(_this.el, null, null);",
            "   ",
            "  ",
            "}"
     "\t\treq.totalErrors(\"DEPR\"),",
     "\t\treq.totalErrors(\"DEPR\", this.windowstate.file)",
     "\t);",
+    "",
+    "\t_this.statusbar_run.el.hide();",
+    "",
+    "\tif (req.totalErrors(\"ERR\") < 1) {",
+    "\t\t_this.statusbar_run.el.show();",
+    "\t}",
+    "\t",
     "}"
    ]
   }