remove file setting to null - otheriwse dont know who triggered the build.
authorAlan <alan@roojs.com>
Tue, 19 Jul 2022 09:40:11 +0000 (17:40 +0800)
committerAlan <alan@roojs.com>
Tue, 19 Jul 2022 09:40:11 +0000 (17:40 +0800)
src/Builder4/WindowState.vala
src/Palete/ValaSource.vala

index d5f2f50..dc20a22 100644 (file)
@@ -42,8 +42,7 @@ public class WindowState : Object
        public DialogTemplateSelect template_select; 
        
        public Xcls_PopoverFileDetails file_details;
-       
-       
+        
        public Xcls_ValaCompileResults compile_results;
        
        // dialogs??
index efae6bb..3311245 100644 (file)
@@ -117,7 +117,7 @@ namespace Palete {
                        if (this.compiler != null) {
                                return false;
                        }
-                       this.file = file;
                        
                        FileIOStream iostream;
                        var tmpfile = File.new_tmp ("test-XXXXXX.vala", out iostream);
@@ -327,7 +327,7 @@ namespace Palete {
                                return false;
                        }
                        
-                       this.file = null;
+                       // this.file = null; << /why
                        this.line_offset = 0;
                          
                        string[] args = {};