summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-26 08:14:29 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-26 08:14:29 (GMT)
commit40ad4565091677416d6c52b2f21632e0929d5352 (patch)
treed547896ed878a35aad8baa15a1c2e27d54f4cb8a
parentf7586602344cb7bb3e4c4ec9dfb508e3fbd27724 (diff)
Stop align timer on solve fail
-rw-r--r--kstars/ekos/align/align.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kstars/ekos/align/align.cpp b/kstars/ekos/align/align.cpp
index 72863c6..5098f35 100644
--- a/kstars/ekos/align/align.cpp
+++ b/kstars/ekos/align/align.cpp
@@ -937,6 +937,8 @@ void Align::solverFailed()
stopB->setEnabled(false);
solveB->setEnabled(true);
+ alignTimer.stop();
+
azStage = AZ_INIT;
altStage = ALT_INIT;