diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-04 14:15:57 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-04 14:15:57 +0200 |
commit | 3655fa180dfd96dfad173897b2fe2100f6107e03 (patch) | |
tree | 11ac69301bdacedeaeeec55b0b12d5addbbf912a /src | |
parent | 27bc27c720a158351d30d131c76cf1f80d2775e7 (diff) | |
parent | f549e8407d32fa3288dcae5a26e330c64559b15a (diff) |
Merge branch 'master' of https://git.oftal.dk/munia
Diffstat (limited to 'src')
-rw-r--r-- | src/taskmanager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/taskmanager.cc b/src/taskmanager.cc index f27692e..cf7defc 100644 --- a/src/taskmanager.cc +++ b/src/taskmanager.cc @@ -125,8 +125,9 @@ TaskIdList TaskManager::createTask(taskid_t parentid) TaskIdList affectedTasks; task_t t; - t.title = ""; taskid_t id = createId(); + t.title = ""; + t.id = id; try { affectedTasks = tree.insertAsChild(parentid, id, t); |