Browse Source

Change the way waypoints are named

QGC4.4
Mariano Lizarraga 15 years ago
parent
commit
e6f0b404d1
  1. 2
      src/ui/MapWidget.cc

2
src/ui/MapWidget.cc

@ -328,7 +328,7 @@ void MapWidget::captureMapClick(const QMouseEvent* event, const QPointF coordina
// Create waypoint name // Create waypoint name
QString str; QString str;
str = QString("WP%1").arg(path->numberOfPoints()); str = QString("%1").arg(path->numberOfPoints());
// create the WP and set everything in the LineString to display the path // create the WP and set everything in the LineString to display the path
CirclePoint* tempCirclePoint = new CirclePoint(coordinate.x(), coordinate.y(), 10, str); CirclePoint* tempCirclePoint = new CirclePoint(coordinate.x(), coordinate.y(), 10, str);

Loading…
Cancel
Save