Skip to content
Snippets Groups Projects
Commit 2412496f authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix failing GUISuite functional tests

parent a398914f
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ Instrument::Instrument(const Instrument& other)
Instrument &Instrument::operator=(const Instrument &other)
{
if (this!=&other) {
m_beam = other.m_beam;
mP_detector.reset(other.mP_detector->clone());
setName(other.getName());
init_parameters();
......
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