From 9ea3ca7580f1343cdcc12faaca2c8cc23c7b4443 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Thu, 10 Mar 2011 16:10:52 -0600 Subject: [PATCH] Add drag to home position --- src/ui/MapWidget.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/MapWidget.cc b/src/ui/MapWidget.cc index b720f1c94..5efc5691f 100644 --- a/src/ui/MapWidget.cc +++ b/src/ui/MapWidget.cc @@ -765,8 +765,8 @@ void MapWidget::captureGeometryEndDrag(Geometry* geom, QPointF coordinate) { // Update homePosition UASManager::instance()->setHomePosition( - static_cast(homeCoordinate.x()), - static_cast(homeCoordinate.y()), 0); + static_cast(homeCoordinate.y()), + static_cast(homeCoordinate.x()), 0); } } -- 2.22.0