Browse Source

added defaultProps.json check

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

+ 3 - 0
hide/Ide.hx

@@ -79,6 +79,9 @@ class Ide {
 		}
 		window.show(true);
 
+		if( props.global.get("hide") == null )
+			error("Failed to load defaultProps.json");
+
 		fileWatcher = new hide.tools.FileWatcher();
 
 		setProject(ideProps.currentProject);