From 3cc24a421cac2a28a3489ffd9d9b006424358fec Mon Sep 17 00:00:00 2001 From: Wai-Kin Chau Date: Mon, 16 Jul 2018 14:22:20 -0700 Subject: [PATCH] Removed start up sample file, replaced to a new file method. --- src/main/java/com/creativeartie/writerstudio/main/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/creativeartie/writerstudio/main/Main.java b/src/main/java/com/creativeartie/writerstudio/main/Main.java index 243743b8..0d5a266a 100644 --- a/src/main/java/com/creativeartie/writerstudio/main/Main.java +++ b/src/main/java/com/creativeartie/writerstudio/main/Main.java @@ -92,8 +92,8 @@ public void start(Stage stage) throws Exception{ * @return answer */ protected void getStartFile(WriterSceneControl writer) throws IOException{ - writeFile = WritingFile.newSampleFile(new File("../../../src/back/resources/help-text.txt")); + // writeFile = WritingFile.newSampleFile(new File("../../../src/back/resources/help-text.txt")); + writeFile = WritingFile.newFile(); writer.listenWriterFile((d, o, n) -> writeFile = n); - //return WritingFile.newFile(); } }