swp->setDataTableModel(ctrl->dataTableModel());
swp->setIntegrationTableModel(ctrl->integrationTableModel());
- if (ctrl->signal()->resource() == Signal::Resource::CE_DAD) {
- qDebug() << "absorbance";
+ if (ctrl->signal()->resource() == Signal::Resource::CE_DAD)
swp->setTypeText(ctrl->signal()->resourceToString() + QString(" Sig: ") + QString::number(ctrl->signal()->wavelengthAbsorbed()) + " nm, Ref: " +
QString::number(ctrl->signal()->wavelengthReference()) + " nm");
- }
else
swp->setTypeText(ctrl->signal()->resourceToString());
swp->setXUnits(ctrl->signal()->xunitToString());