mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
fixed bug in gui that overwrites the individual sls file path values with the multi value
This commit is contained in:
parent
953e513a2d
commit
5082435501
@ -4674,7 +4674,8 @@ string multiSlsDetector::checkReceiverOnline() {
|
||||
string multiSlsDetector::setFilePath(string s) {
|
||||
|
||||
string ret="errorerror", ret1;
|
||||
if(!s.empty()){
|
||||
//if the sls file paths are different, it should be realized by always using setfilepath even if string empty
|
||||
//if(!s.empty()){
|
||||
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
|
||||
if (detectors[idet]) {
|
||||
@ -4688,7 +4689,7 @@ string multiSlsDetector::setFilePath(string s) {
|
||||
}
|
||||
}
|
||||
fileIO::setFilePath(ret);
|
||||
}
|
||||
//}
|
||||
|
||||
return fileIO::getFilePath();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user