summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 17:52:33 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 17:52:33 (GMT)
commit3ec33f0f0649c7900c5b99edf33c4d99b31f1f46 (patch)
tree7e6af58fb7e94894cf6e59a12c37e7add32f1110
parent34d59206f9ef15981dad16b2e3443f50f8c15395 (diff)
Change start to stop for preview as well
-rw-r--r--kstars/ekos/capture/capture.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kstars/ekos/capture/capture.cpp b/kstars/ekos/capture/capture.cpp
index 19ca109..4d39e23 100644
--- a/kstars/ekos/capture/capture.cpp
+++ b/kstars/ekos/capture/capture.cpp
@@ -1911,6 +1911,12 @@ void Capture::executeJob()
// Update button status
setBusy(true);
+ if (activeJob->isPreview())
+ {
+ startB->setIcon(QIcon::fromTheme("media-playback-stop", QIcon(":/icons/breeze/default/media-playback-stop.svg") ));
+ startB->setToolTip(i18n("Stop"));
+ }
+
useGuideHead = (activeJob->getActiveChip()->getType() == ISD::CCDChip::PRIMARY_CCD) ? false : true;
// Check flat field frame requirements