Skip to content

Commit

Permalink
Removed start up sample file, replaced to a new file method.
Browse files Browse the repository at this point in the history
  • Loading branch information
creativeArtie committed Jul 16, 2018
1 parent 41c3efe commit 3cc24a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/creativeartie/writerstudio/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 3cc24a4

Please sign in to comment.