summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-05-04 14:15:57 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-05-04 14:15:57 +0200
commit3655fa180dfd96dfad173897b2fe2100f6107e03 (patch)
tree11ac69301bdacedeaeeec55b0b12d5addbbf912a /src
parent27bc27c720a158351d30d131c76cf1f80d2775e7 (diff)
parentf549e8407d32fa3288dcae5a26e330c64559b15a (diff)
Merge branch 'master' of https://git.oftal.dk/munia
Diffstat (limited to 'src')
-rw-r--r--src/taskmanager.cc3
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);