Skip to content

Commit

Permalink
Fix to EditArea construction
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Pozhidaev committed Apr 21, 2018
1 parent b588945 commit b367a78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/luwrain/app/contacts/ContactsApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ private void createAreas()
}
};

notesArea = new EditArea(new DefaultControlEnvironment(luwrain), strings.notesAreaName(), new String[0], null){
final EditArea.Params editParams = new EditArea.Params();
editParams.context = new DefaultControlEnvironment(luwrain);
editParams.name = strings.notesAreaName();

notesArea = new EditArea(editParams){
@Override public boolean onKeyboardEvent(KeyboardEvent event)
{
if (event == null)
Expand Down

0 comments on commit b367a78

Please sign in to comment.