TW-1583: Invalid ID displayed after done/delete

- Fix completed/deleted tasks getting an ID when GC is going to be run,
  previously resulting in invalid IDs being displayed in reports that
  show non-pending tasks.

A side effect of this fix is that it is sometimes not possible to
filter by ID when running a report right after calling done/delete.
This problem existed before; this change makes it happen on the first
report instead of the second, so it is more consistently broken.
Commands that modify tasks are not affected, making this an annoying
yet harmless defect.
This commit is contained in:
Wilhelm Schuermann 2015-03-28 10:12:19 +01:00
parent 20eaa312e6
commit 9e6c6ecb93
5 changed files with 24 additions and 4 deletions

View file

@ -94,6 +94,8 @@ public:
bool determine_color_use;
bool use_color;
bool run_gc;
bool verbosity_legacy;
std::vector <std::string> verbosity;
std::vector <std::string> headers;