Skip to content

Commit

Permalink
fixed bug that would cause EditNote.java to crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Owen committed Feb 27, 2014
1 parent 6dcbae7 commit 9f2ae95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/spinninggangstaz/stickyspeech/EditNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private void initLayout() {
this.noteText = (LinedEditText)findViewById(R.id.editText);
this.title = (TextView)findViewById(R.id.editNote);
this.noteText.setText(this.currentNote.getText(), TextView.BufferType.EDITABLE);
this.noteText.setSelection(this.currentNote.toString().length());
this.noteText.setSelection(this.currentNote.getText().length());

Typeface font = Typeface.createFromAsset(getAssets(), "Dimbo.ttf");
this.title.setTypeface(font);
Expand Down

0 comments on commit 9f2ae95

Please sign in to comment.