Fixed the list view bug, so it will now reload the list view so that it includes the newly added path.
This commit is contained in:
@@ -189,6 +189,8 @@ public class FlightRDController extends Controller {
|
||||
|
||||
if (destAirport != null && sourceAirport != null){
|
||||
theDataSet.addFlightPath(sourceAirport, destAirport);
|
||||
flightPathListView.getItems().clear();
|
||||
flightPathListView();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user