diff --git a/pom.xml b/pom.xml index 392122b..c738535 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.andrewlalis javafx-scene-router - 1.5.0 + 1.5.1 JavaFX Scene Router A library that provides a router implementation for JavaFX, for browser-like navigation between pages. https://github.com/andrewlalis/javafx-scene-router diff --git a/src/main/java/com/andrewlalis/javafx_scene_router/SceneRouter.java b/src/main/java/com/andrewlalis/javafx_scene_router/SceneRouter.java index 421476d..79a54c1 100644 --- a/src/main/java/com/andrewlalis/javafx_scene_router/SceneRouter.java +++ b/src/main/java/com/andrewlalis/javafx_scene_router/SceneRouter.java @@ -164,6 +164,7 @@ public class SceneRouter { CompletableFuture cf = new CompletableFuture<>(); Platform.runLater(() -> { history.clearForward(); + breadCrumbs.setAll(history.getBreadCrumbs()); cf.complete(true); }); return cf;