Skip to content
Snippets Groups Projects
Commit 4c773250 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

apply loaded gradient to diff data

parent 73bccaf5
No related branches found
No related tags found
1 merge request!1370Apply loaded gradient to diff data
Pipeline #89947 passed
......@@ -592,6 +592,11 @@ void JobItem::readFrom(QXmlStreamReader* r, const QString& projectDir,
createRealItem();
realError = m_realItem->readFrom(r, projectDir, messageService, instrumentItem());
createDiffDataItem()->copyXYRangesFromItem(m_realItem->dataItem());
if (isIntensityJob())
dynamic_cast<IntensityDataItem*>(diffDataItem())
->setCurrentGradient(m_realItem->intensityDataItem()->currentGradient());
importMasksFromRealItem();
XML::gotoEndElementOfTag(r, tag);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment