Fixed the list view bug, so it will now reload the list view so that it includes the newly added path.

main
Liam Beckett 9 years ago
parent d838274065
commit 7333620964

@ -1049,6 +1049,7 @@ public class Dataset {
}
newPath.setID(pathID);
flightPathDictionary.put(pathID, newPath);
flightPaths.add(newPath);
}
/**

@ -189,6 +189,8 @@ public class FlightRDController extends Controller {
if (destAirport != null && sourceAirport != null){
theDataSet.addFlightPath(sourceAirport, destAirport);
flightPathListView.getItems().clear();
flightPathListView();
}
}

Loading…
Cancel
Save