Commit 3bd7edd8 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Fix regression causing crash on preview

parent c945f7b7
......@@ -1275,16 +1275,16 @@ void Capture::addJob(bool preview)
job->setFrame(frameXIN->value(), frameYIN->value(), frameWIN->value(), frameHIN->value());
// Nothing more to do if preview
if (preview)
if (jobUnderEdit == false)
// Nothing more to do if preview
if (preview)
QString finalFITSDir = fitsDir->text() + QDir::separator() + frameTypeCombo->currentText();
if (job->getFilterName().isEmpty() == false)
finalFITSDir += QDir::separator() + job->getFilterName();
Supports Markdown
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