aboutsummaryrefslogtreecommitdiff
path: root/src/drone.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drone.cc')
-rw-r--r--src/drone.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drone.cc b/src/drone.cc
index b7e4007..0be11a6 100644
--- a/src/drone.cc
+++ b/src/drone.cc
@@ -29,6 +29,7 @@ Drone::Drone(const QJsonObject &json)
for (const QJsonValue &o : ja) {
waypoints.append(Waypoint(o.toObject()));
}
+ setTo(0);
}