Commit d1b31709 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Make 2nd rotation value and direction always in sync with 1st one regardless of auto-mode

parent ee946e36
......@@ -4302,14 +4302,15 @@ void Align::processPAHStage(double orientation, double ra, double dec, double pi
pahImageInfos.append(solution);
// Sync 2nd rotation value to be that of 1st in case
PAHSecondRotationSpin->setValue(PAHFirstRotationSpin->value());
PAHSecondEastMeridianR->setChecked(PAHFirstEastMeridianR->isChecked());
pahStage = PAH_SECOND_ROTATE;
PAHWidgets->setCurrentWidget(PAHSecondRotatePage);
if (PAHAutoModeCheck->isChecked())
{
// Sync 2nd rotation value to be that of 1st in case of Auto Mode
PAHSecondRotationSpin->setValue(PAHFirstRotationSpin->value());
PAHSecondEastMeridianR->setChecked(PAHFirstEastMeridianR->isChecked());
// Now let's commence the move
PAHSecondRotateB->setEnabled(true);
PAHSecondRotateB->click();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment