summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-12 21:36:15 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-12 21:36:15 (GMT)
commit40f1ec370d73c6d3e5dbeaa4420cb261d5553fed (patch)
tree294b72f2723d9bde258eafa6a08473997c382922
parentbda8ab1bd40f791265fedf960cbb3bb6055fa03e (diff)
If focus fails at post-alignment stage, we need to set state back to post-alignment so that it proceeds correctly
-rw-r--r--kstars/ekos/scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/ekos/scheduler.cpp b/kstars/ekos/scheduler.cpp
index 499497d..fa1551f 100644
--- a/kstars/ekos/scheduler.cpp
+++ b/kstars/ekos/scheduler.cpp
@@ -3499,7 +3499,7 @@ void Scheduler::startFocusing()
return;
}
- if (currentJob->getStage() == SchedulerJob::STAGE_RESLEWING_COMPLETE)
+ if (currentJob->getStage() == SchedulerJob::STAGE_RESLEWING_COMPLETE || currentJob->getStage() == SchedulerJob::STAGE_POSTALIGN_FOCUSING)
{
currentJob->setStage(SchedulerJob::STAGE_POSTALIGN_FOCUSING);
appendLogText(i18n("Post-alignment focusing for %1 ...", currentJob->getName()));