Browse Source

DomkitEditor: fix view modified flag reset to true when using setCode with keepingHistory = true

lviguier 5 tháng trước cách đây
mục cha
commit
635441d3be
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      hide/view/Domkit.hx

+ 1 - 0
hide/view/Domkit.hx

@@ -175,6 +175,7 @@ class Domkit extends FileView {
 		if( data.dml != dmlEditor.code ) dmlEditor.setCode(data.dml, true);
 		if( data.params != paramsEditor.code ) paramsEditor.setCode(data.params, true);
 		sys.io.File.saveContent(getPath(),str);
+		modified = false;
 	}
 
 	override function getDefaultContent() {