fixed bug in gui that overwrites the individual sls file path values with the multi value

This commit is contained in:
Dhanya Maliakal 2016-10-06 08:50:08 +02:00
parent 953e513a2d
commit 5082435501

View File

@ -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();
}