summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-21 08:22:29 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-21 08:22:29 (GMT)
commitc5862ad311343ff0f56fc7742dc58c1011cf2749 (patch)
tree7e3d0275efcdce455b92ae4ee89743f22d1ab693
parent918e01dcb3d3232e785a6ca56be38d8f077a2e61 (diff)
Sync job to gui should include remote dir and upload mode combos
-rw-r--r--kstars/ekos/capture/capture.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kstars/ekos/capture/capture.cpp b/kstars/ekos/capture/capture.cpp
index 1cd134f..bf8670b 100644
--- a/kstars/ekos/capture/capture.cpp
+++ b/kstars/ekos/capture/capture.cpp
@@ -2553,6 +2553,9 @@ void Capture::syncGUIToJob(SequenceJob *job)
countIN->setValue(job->getCount());
delayIN->setValue(job->getDelay()/1000);
postCaptureScriptIN->setText(job->getPostCaptureScript());
+ uploadModeCombo->setCurrentIndex(job->getUploadMode());
+ remoteDirIN->setEnabled(uploadModeCombo->currentIndex() != 0);
+ remoteDirIN->setText(job->getRemoteDir());
// Temperature Options
temperatureCheck->setChecked(job->getEnforceTemperature());