Save updates to text fields, from Matt Krai
commit66b5efff7ed89ab7fb8fba391d6f539f2d988487
authorAndrew McMillan <andrew@morphoss.com>
Tue, 9 Apr 2013 04:06:40 +0000 (9 16:06 +1200)
committerAndrew McMillan <andrew@morphoss.com>
Tue, 9 Apr 2013 04:06:40 +0000 (9 16:06 +1200)
treec986fa74c8948a4f3da12b2dc24eea46af363e6f
parente65432d3880a0109a30e8d7a7aa3cd70460ad44d
Save updates to text fields, from Matt Krai

"When I create a new task, edit its summary, and then set its due date,
aCal clears the task's summary.

"When the due date button is pressed, onCreateDialog creates a dialog
that, when the date is set, sets the todo's due date and calls
updateLayout.  updateLayout calls todo.getSummary to get the task's
summary and passes the result to todoName.setText.  Since the todo's
summary hasn't been set yet, this clears the summary.

"When editing an event, this is prevented by setting the event's
summary, location, and description before opening a dialog.  Do the
same thing when editing tasks.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
src/com/morphoss/acal/activity/TodoEdit.java