Not loading "Adaptive Thresh Win Size" for Code Marker correctly from .pet
Following code (CodeMarkerWidget::getXml
) has a Typo, which results in PeTrack not loading these values from the .pet:
if (subElem.hasAttribute("ADAPTIVE_TRHESH_WIN_SIZE_MIN"))
adaptiveThreshWinSizeMin->setValue(subElem.attribute("ADAPTIVE_THRESH_WIN_SIZE_MIN").toInt());
if (subElem.hasAttribute("ADAPTIVE_TRHESH_WIN_SIZE_MAX"))
adaptiveThreshWinSizeMax->setValue(subElem.attribute("ADAPTIVE_THRESH_WIN_SIZE_MAX").toInt());
The Typo: TRHESH insteade of THRESH.