Bug
- Fix regression introduced in 73043b86 where UDA edits
were not detected for non-date types.
This commit is contained in:
committed by
Paul Beckingham
parent
55813b6a09
commit
45202c292b
@@ -685,9 +685,8 @@ void CmdEdit::parseTask (Task& task, const std::string& after, const std::string
|
||||
if (type != "")
|
||||
{
|
||||
std::string value = findValue (after, "\n UDA " + col->first + ":");
|
||||
if ((task.get (col->first) != value) &&
|
||||
(type == "date" && task.get (col->first)
|
||||
!= Date(value, dateformat).toEpochString ()))
|
||||
if ((task.get (col->first) != value) && (type != "date" ||
|
||||
(task.get (col->first) != Date(value, dateformat).toEpochString ())))
|
||||
{
|
||||
if (value != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user