gui bug fix: hostname print out and acquisition index

This commit is contained in:
2019-08-27 09:25:10 +02:00
parent aafe049a9b
commit fc0b25cfa7
2 changed files with 10 additions and 9 deletions

View File

@ -435,7 +435,7 @@ void qTabMeasurement::GetRunIndex() {
FILE_LOG(logDEBUG) << "Getting Acquisition File index";
disconnect(spinIndex, SIGNAL(valueChanged(int)), this, SLOT(SetRunIndex(int)));
try {
auto retval = det->getAcquisitonIndex().tsquash("Inconsistent file index for all detectors.");
auto retval = det->getAcquisitionIndex().tsquash("Inconsistent file index for all detectors.");
spinIndex->setValue(retval);
} CATCH_DISPLAY ("Could not get acquisition file index.", "qTabMeasurement::GetRunIndex")
connect(spinIndex, SIGNAL(valueChanged(int)), this, SLOT(SetRunIndex(int)));