Commit 26ae477a authored by pixhawk's avatar pixhawk
Browse files

fixed wrong sequence numbers when saving waypoint list

parent 9af2c59b
......@@ -398,6 +398,7 @@ void UASWaypointManager::saveWaypoints(const QString &saveFile)
for (int i = 0; i < waypoints.size(); i++)
{
waypoints[i]->setId(i);
waypoints[i]->save(out);
}
file.close();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment