From 46b0aef6238e861b5374e1b51c70314ac1d1ec8a Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 13 Jun 2017 14:18:56 +0000 Subject: [PATCH] Task #10902 #10944: do show scheduled reservations in alwin-scheduler --- SAS/Scheduler/src/GraphicResourceScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAS/Scheduler/src/GraphicResourceScene.cpp b/SAS/Scheduler/src/GraphicResourceScene.cpp index be65553f2c9..1757c9e8644 100644 --- a/SAS/Scheduler/src/GraphicResourceScene.cpp +++ b/SAS/Scheduler/src/GraphicResourceScene.cpp @@ -393,7 +393,7 @@ void GraphicResourceScene::updateTasks(const scheduledTasksMap &scheduledTasks, } } for (reservationsMap::const_iterator it = reservations.begin(); it != reservations.end(); ++it) { - if (it->second->getStatus() == Task::PRESCHEDULED) { + if (it->second->getStatus() == Task::PRESCHEDULED || it->second->getStatus() == Task::SCHEDULED) { taskID = it->second->getID(); const std::map<std::string, unsigned> &stations = it->second->getStations(); for (std::map<std::string, unsigned>::const_iterator sit = stations.begin(); sit != stations.end(); ++sit) { -- GitLab