Merge branch 'WIP_Update_list' into 'master'
update list See merge request !13
This commit is contained in:
Binary file not shown.
@@ -1049,6 +1049,7 @@ public class Dataset {
|
|||||||
}
|
}
|
||||||
newPath.setID(pathID);
|
newPath.setID(pathID);
|
||||||
flightPathDictionary.put(pathID, newPath);
|
flightPathDictionary.put(pathID, newPath);
|
||||||
|
flightPaths.add(newPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -189,6 +189,8 @@ public class FlightRDController extends Controller {
|
|||||||
|
|
||||||
if (destAirport != null && sourceAirport != null){
|
if (destAirport != null && sourceAirport != null){
|
||||||
theDataSet.addFlightPath(sourceAirport, destAirport);
|
theDataSet.addFlightPath(sourceAirport, destAirport);
|
||||||
|
flightPathListView.getItems().clear();
|
||||||
|
flightPathListView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user