summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-29 15:50:14 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-29 15:50:14 (GMT)
commitb3dc10d1475b0c5bec0a6bfac705409a21b2224f (patch)
tree6ad60621804a7cfe0b0488d235eea1a86997f907
parent845d077a7a0084ba2a5109cc4823e028df200eaf (diff)
Set currentGoto mode value since the connect in the ctor gets only activated for explicit clicks
-rw-r--r--kstars/ekos/align/align.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kstars/ekos/align/align.cpp b/kstars/ekos/align/align.cpp
index 5098f35..750d1db 100644
--- a/kstars/ekos/align/align.cpp
+++ b/kstars/ekos/align/align.cpp
@@ -745,6 +745,7 @@ void Align::setCaptureComplete()
void Align::setGOTOMode(int mode)
{
gotoModeButtonGroup->button(mode)->setChecked(true);
+ currentGotoMode = static_cast<GotoMode>(mode);
}
void Align::startSolving(const QString &filename, bool isGenerated)