Skip to content
Snippets Groups Projects
Commit 3459ea94 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Re #8074. Don't edit instrument without grouping.

parent 581050a8
No related merge requests found
......@@ -576,7 +576,7 @@ namespace WorkflowAlgorithms
m_progress->report();
// edit the instrument geometry
if (m_l1 > 0 || !tths.empty() || !l2s.empty() || !phis.empty())
if (m_groupWS && (m_l1 > 0 || !tths.empty() || !l2s.empty() || !phis.empty()))
{
size_t numreg = m_outputW->getNumberHistograms();
......
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