summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <[email protected]>2016-04-17 18:26:59 +0300
committerJasem Mutlaq <[email protected]>2016-04-17 18:26:59 +0300
commit7a09c944101a39c87059aea7e24ed94282b680d1 (patch)
tree54aa8a311e424e871376c1eb01fc04d333f6c17c
parent3bd7edd887bac9f0105675b2b88439485e5b0c59 (diff)
Do not append filter for dark and bias frames
-rw-r--r--kstars/ekos/capture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/ekos/capture.cpp b/kstars/ekos/capture.cpp
index 741b3ec..9b96b3e 100644
--- a/kstars/ekos/capture.cpp
+++ b/kstars/ekos/capture.cpp
@@ -1286,7 +1286,7 @@ void Capture::addJob(bool preview)
return;
QString finalFITSDir = fitsDir->text() + QDir::separator() + frameTypeCombo->currentText();
- if (job->getFilterName().isEmpty() == false)
+ if ( (job->getFrameType() == FRAME_LIGHT || job->getFrameType() == FRAME_FLAT) && job->getFilterName().isEmpty() == false)
finalFITSDir += QDir::separator() + job->getFilterName();
job->setFITSDir(finalFITSDir);