]> git.mxchange.org Git - flightgear.git/commitdiff
GPS/route-manager - notify listeners when current waypoint is changed.
authorjmt <jmt>
Sat, 27 Mar 2010 17:51:20 +0000 (17:51 +0000)
committerTim Moore <timoore33@gmail.com>
Sun, 28 Mar 2010 13:26:25 +0000 (15:26 +0200)
src/Autopilot/route_mgr.cxx

index 64263dc25749eedfc0913bef2722a6548293da71..5996682e19b6779037b137da48f4b770cae063e4 100644 (file)
@@ -597,6 +597,7 @@ void FGRouteMgr::jumpToIndex(int index)
   
   _route->set_current(index);
   currentWaypointChanged();
+  _currentWpt->fireValueChanged();
 }
 
 void FGRouteMgr::currentWaypointChanged()