Skip to content
Snippets Groups Projects
Commit ba0a802a authored by Matthias Puchner's avatar Matthias Puchner
Browse files

cleanup

parent fe853abd
No related branches found
No related tags found
1 merge request!647crash fix, behavior fix and cleanup
......@@ -109,10 +109,8 @@ void RectangularDetectorItem::serialize(Serializer& s)
s.rw(m_v0);
s.rw(m_distance);
if (s.isReading()) {
m_detectorAlignment = static_cast<RectangularDetector::EDetectorArrangement>(alignment);
updateTooltips();
}
if (s.isReading())
setDetectorAlignment(static_cast<RectangularDetector::EDetectorArrangement>(alignment));
}
void RectangularDetectorItem::setDetectorAlignment(
......
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