Bug fix: handle empty date

main
Thomas Battermann 10 years ago committed by Thomas Ba
parent bb55aef369
commit 19d152de71

@ -581,6 +581,10 @@ public class Controller {
ErrorPrinter.printWarning("saveTodoEntry > Didnt find element #todoDetailDate!");
return;
}
if ( dd == null ) {
this.updateStatusLine("Invalid date!");
return;
}
if (!this.currentTodo.validateTime(((TextField) n).getText())) {
this.updateStatusLine("Invalid time format, use HH:MM!");
return;

Loading…
Cancel
Save