Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/guide/guide.cpp
Show First 20 Lines • Show All 1598 Lines • ▼ Show 20 Line(s) | 1596 | { | |||
---|---|---|---|---|---|
1599 | guider->clearCalibration(); | 1599 | guider->clearCalibration(); | ||
1600 | 1600 | | |||
1601 | appendLogText(i18n("Calibration is cleared.")); | 1601 | appendLogText(i18n("Calibration is cleared.")); | ||
1602 | } | 1602 | } | ||
1603 | 1603 | | |||
1604 | void Guide::setStatus(Ekos::GuideState newState) | 1604 | void Guide::setStatus(Ekos::GuideState newState) | ||
1605 | { | 1605 | { | ||
1606 | if (newState == state) | 1606 | if (newState == state) | ||
1607 | { | ||||
1608 | // pass through the aborted state | ||||
1609 | if (newState == GUIDE_ABORTED) | ||||
1610 | emit newStatus(state); | ||||
1607 | return; | 1611 | return; | ||
1612 | } | ||||
1608 | 1613 | | |||
1609 | GuideState previousState = state; | 1614 | GuideState previousState = state; | ||
1610 | 1615 | | |||
1611 | state = newState; | 1616 | state = newState; | ||
1612 | emit newStatus(state); | 1617 | emit newStatus(state); | ||
1613 | 1618 | | |||
1614 | switch (state) | 1619 | switch (state) | ||
1615 | { | 1620 | { | ||
▲ Show 20 Lines • Show All 1767 Lines • Show Last 20 Lines |