meson.build.o7QLX02
[roobuilder] / src / Project / Project.vala
index d10c23a..5741178 100644 (file)
@@ -858,6 +858,8 @@ namespace Project {
 
                        
                        file.remove();
+                       this.save();
+                       
                        // remove it from 
                        
                        
@@ -993,15 +995,16 @@ namespace Project {
                        return ret;
                }
                
-               public void updateErrorsforFile(JsRender.JsRender f) 
+               public void updateErrorsforFile(JsRender.JsRender? f) 
                {
-                       var n = this.updateErrorsByType(f, "WARN");
-                       n += this.updateErrorsByType(f, "ERR");
-                       n += this.updateErrorsByType(f, "DEPR");
-                       
-                       if (n > 0) {
-                               BuilderApplication.updateCompileResults();
+                       if (f != null)  {
+                               var n = this.updateErrorsByType(f, "WARN");
+                               n += this.updateErrorsByType(f, "ERR");
+                               n += this.updateErrorsByType(f, "DEPR");
                        }
+
+                       BuilderApplication.updateCompileResults();
+                       
                        
                }
                public int  updateErrorsByType(JsRender.JsRender f, string n)