Task: Do not include recurring tasks into OVERDUE virtual tag

This commit is contained in:
Tomas Babej 2015-06-30 14:50:58 +02:00 committed by Paul Beckingham
parent b3962bb13d
commit 15dea00eeb

View file

@ -503,7 +503,8 @@ bool Task::is_overdue () const
Task::status status = getStatus (); Task::status status = getStatus ();
if (status != Task::completed && if (status != Task::completed &&
status != Task::deleted) status != Task::deleted &&
status != Task::recurring)
{ {
Task::dateState state = getDateState ("due"); Task::dateState state = getDateState ("due");
if (state == dateEarlierToday || if (state == dateEarlierToday ||