Commit 7a09c944 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Do not append filter for dark and bias frames

parent 3bd7edd8
......@@ -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);
......
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