Skip to content

Commit 20a07b5

Browse files
author
Hauke Jürgen Mönck
committed
Fixed bug when loading tracks
1 parent a33a89c commit 20a07b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterCSV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void DataExporterCSV::addChildOfChild(IModelTrackedTrajectory *root, IModelTrack
108108
{
109109
IModelTrackedTrajectory *ntraj = static_cast<IModelTrackedTrajectory*>(factory->getNewTrackedTrajectory("0"));
110110
ntraj->add(child, idx);
111-
root->add(ntraj, idx);
111+
root->add(ntraj, child->getId());
112112
}
113113
}
114114

0 commit comments

Comments
 (0)