corefx - update to clear right border pane when joining a session

This commit is contained in:
Blake J. Harnden 2018-11-29 16:24:30 -08:00
parent 9a2625e502
commit 56f9e6ec8a

View file

@ -135,7 +135,10 @@ public class Controller implements Initializable {
networkGraph.reset();
// clear out any previously set information
bottom.getChildren().remove(mobilityPlayer);
Platform.runLater(() -> {
bottom.getChildren().remove(mobilityPlayer);
borderPane.setRight(null);
});
mobilityDialog.setNode(null);
// get session to join