Skip to content

Commit

Permalink
Refs #4509 fix segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Feb 2, 2012
1 parent 54a9035 commit c52ae26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/MantidQt/API/src/MantidQwtIMDWorkspaceData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ MantidQwtIMDWorkspaceData::MantidQwtIMDWorkspaceData(const MantidQwtIMDWorkspace
m_normalization(data.m_normalization),
m_isDistribution(data.m_isDistribution),
m_originalWorkspace(data.m_originalWorkspace),
m_transform(data.m_transform->clone() ),
m_transform(NULL),
m_plotAxis(data.m_plotAxis), m_currentPlotAxis(data.m_currentPlotAxis)
{
if (data.m_transform)
m_transform = data.m_transform->clone();
this->cacheLinePlot();
}

Expand Down

0 comments on commit c52ae26

Please sign in to comment.