Browse Source

fixed refreshAll triggering bug with DataFiles

Nicolas Cannasse 5 years ago
parent
commit
c78e032a27
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hide/comp/cdb/Editor.hx

+ 1 - 0
hide/comp/cdb/Editor.hx

@@ -466,6 +466,7 @@ class Editor extends Component {
 
 	public static function refreshAll( eraseUndo = false ) {
 		var editors : Array<Editor> = [for( e in new Element(".is-cdb-editor").elements() ) e.data("cdb")];
+		DataFiles.load();
 		for( e in editors ) {
 			e.syncSheet(Ide.inst.database);
 			e.refresh();