From 6b5604209e7569222928cc614c17badef365ccb9 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 6 Sep 2012 14:22:07 +0200 Subject: [PATCH] Auto-requesting WPs on system connect --- src/ui/WaypointList.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/WaypointList.cc b/src/ui/WaypointList.cc index e9ec70bba..639afcae5 100644 --- a/src/ui/WaypointList.cc +++ b/src/ui/WaypointList.cc @@ -101,7 +101,6 @@ WaypointList::WaypointList(QWidget *parent, UASInterface* uas) : if (uas) { WPM = uas->getWaypointManager(); - //setUAS(uas); } else { @@ -176,6 +175,9 @@ void WaypointList::setUAS(UASInterface* uas) //connect(WPM,SIGNAL(loadWPFile()),this,SLOT(setIsLoadFileWP())); //connect(WPM,SIGNAL(readGlobalWPFromUAS(bool)),this,SLOT(setIsReadGlobalWP(bool))); } + + // Update list + read(); } void WaypointList::saveWaypoints() -- 2.22.0