diff --git a/GUI/Model/FromCore/ItemizeSimulation.cpp b/GUI/Model/FromCore/ItemizeSimulation.cpp index cf62adbf8365da34b3d700e9d9855f79a526ea29..37c17d74d92338d749ed97aafc026f628ed05260 100644 --- a/GUI/Model/FromCore/ItemizeSimulation.cpp +++ b/GUI/Model/FromCore/ItemizeSimulation.cpp @@ -251,6 +251,13 @@ void updateDetector(GISASInstrumentItem* instrument_item, const IDetector& detec { auto* detector_item = instrument_item->detectorItem(); + detector_item->setNPhi(detector.axis(0).size()); + detector_item->phiMin().setValue(detector.axis(0).min()); + detector_item->phiMax().setValue(detector.axis(0).max()); + detector_item->setNAlpha(detector.axis(1).size()); + detector_item->alphaMin().setValue(detector.axis(1).min()); + detector_item->alphaMax().setValue(detector.axis(1).max()); + setDetectorResolution(detector_item, detector); setMaskStacks(detector_item, detector); setPolarizer2(instrument_item, detector.analyzer());