casimir / simpleDeadlines

Simple Deadlines is a deadline manager meant to be as simple as possible to use. Less is more!
https://play.google.com/store/apps/details?id=com.casimirlab.simpleDeadlines
GNU General Public License v3.0
22 stars 6 forks source link

[Bug] Group is overwritten when Deadline is checked #35

Closed satyanash closed 10 years ago

satyanash commented 10 years ago

Whenever one checks a given deadline, the 'Group' of the checked deadline is reset to the default group, or as set in the preferences.

The problem seems to be in the condition here in the #update() method.

Ideally one would want the default group set only when the user tries to explicitly update the group field to a whitespace or empty String(""). Right now, if the group is not passed(null) to the DeadlineProvider#update(), it is simply overwritten instead of preserving the original value.

satyanash commented 10 years ago

Closing issue, since fix has been merged