From 4eb7ca6b8e6adaa1569cc8e42b55258925569578 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Tue, 26 Dec 2023 12:52:15 -0500 Subject: [PATCH] Fixed breadcrumb updating. --- pom.xml | 2 +- .../java/com/andrewlalis/javafx_scene_router/SceneRouter.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;