src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 28 Jan 2024 11:43:08 +0000 (19:43 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 28 Jan 2024 11:43:08 +0000 (19:43 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index 664f3c5..730bc8c 100644 (file)
         "    _this.dirty = false;",
         "    this.el.grab_focus();",
         "    _this.save_button.el.sensitive = false;",
+        "    _this.last_error_counter = -1;",
         "}"
        ]
       }
index d62b898..027d241 100644 (file)
@@ -793,6 +793,7 @@ public class Editor : Object
                    _this.dirty = false;
                    this.el.grab_focus();
                    _this.save_button.el.sensitive = false;
+                   _this.last_error_counter = -1;
                }
        }
        public class Xcls_buffer : Object