diff --git a/src/ui/WaypointList.cc b/src/ui/WaypointList.cc index b453f34..d1283ff 100644 --- a/src/ui/WaypointList.cc +++ b/src/ui/WaypointList.cc @@ -122,6 +122,11 @@ WaypointList::WaypointList(QWidget *parent, UASWaypointManager* wpm) : connect(WPM, SIGNAL(waypointViewOnlyListChanged(void)), this, SLOT(waypointViewOnlyListChanged(void))); connect(WPM, SIGNAL(waypointViewOnlyChanged(int,Waypoint*)), this, SLOT(updateWaypointViewOnly(int,Waypoint*))); connect(WPM, SIGNAL(currentWaypointChanged(quint16)), this, SLOT(currentWaypointViewOnlyChanged(quint16))); + + //Even if there are no waypoints, since this is a new instance and there is an + //existing WPM, then we need to assume things have changed, and act appropriatly. + waypointEditableListChanged(); + waypointViewOnlyListChanged(); } // STATUS LABEL