aboutsummaryrefslogtreecommitdiff
path: root/src/planner-eds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/planner-eds.cpp')
-rw-r--r--src/planner-eds.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/planner-eds.cpp b/src/planner-eds.cpp
index 7d9416c..61719ea 100644
--- a/src/planner-eds.cpp
+++ b/src/planner-eds.cpp
@@ -289,7 +289,11 @@ private:
ECalClient* client;
std::string color;
AppointmentSubtask(const std::shared_ptr<Task>& task_in, ECalClient* client_in, const char* color_in):
- task(task_in), client(client_in), color(color_in) {}
+ task(task_in), client(client_in)
+ {
+ if (color_in)
+ color = color_in;
+ }
};
void rebuild_soon(int rebuild_flags)