diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index bbc01ac8b..1fbc290e1 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -2640,6 +2640,9 @@ slsDetectorDefs::detectorSettings slsDetector::setSettings( detectorSettings ise std::cout<< "slsDetector setSettings " << isettings << std::endl; #endif + if (isettings == -1) + return getSettings(imod); + detectorType detType = thisDetector->myDetectorType; switch (detType) {