Nicolas Cannasse 5 năm trước cách đây
mục cha
commit
2bf14365c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hide/Ide.hx

+ 1 - 1
hide/Ide.hx

@@ -680,7 +680,7 @@ class Ide {
 			fileWatcher.ignoreNextChange(databaseDiff);
 			sys.io.File.saveContent(getPath(databaseDiff), toJSON(new cdb.DiffFile().make(originDataBase,database)));
 		} else {
-			if( !sys.FileSystem.exists(databaseFile) && fileExists(databaseFile) ) {
+			if( !sys.FileSystem.exists(getPath(databaseFile)) && fileExists(databaseFile) ) {
 				// was loaded from pak, cancel changes
 				loadDatabase();
 				hide.comp.cdb.Editor.refreshAll();