This is funny because fixing this bug actually reduced the code and make it
more elegant.
When you create a new task in GTG, this task is deleted if you close it
without any change.
To do that, we check that the content of the task is not empty. But we were
forgetting the title, hence the bug ! We were not able to "track changes"
because a new task has change during its creatin (a new task title is
inserted)
Now, we do it simply that way : we don't do anything before the window of the
editor is fully loaded then, we save if anything change. A lot better, isn't
it?
Fixed in rev. 421
This is funny because fixing this bug actually reduced the code and make it
more elegant.
When you create a new task in GTG, this task is deleted if you close it
without any change.
To do that, we check that the content of the task is not empty. But we were
forgetting the title, hence the bug ! We were not able to "track changes"
because a new task has change during its creatin (a new task title is
inserted)
Now, we do it simply that way : we don't do anything before the window of the
editor is fully loaded then, we save if anything change. A lot better, isn't
it?