mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
slsDetectorSoftware: users setSettings(-1) gives undefined settings. fixed
This commit is contained in:
parent
3b6ead7783
commit
711e0d771e
@ -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) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user