Skip to content

Commit

Permalink
Update load default file
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Oct 4, 2017
1 parent b7c7014 commit c456777
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/billthefarmer/editor/Editor.java
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ private void defaultFile(String text)

else
{
textView.append(text);
if (text != null)
textView.append(text);

String title = uri.getLastPathSegment();
setTitle(title);
Expand Down

0 comments on commit c456777

Please sign in to comment.