Fixed breadcrumb updating.
This commit is contained in:
parent
ac011b7382
commit
4eb7ca6b8e
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>com.andrewlalis</groupId>
|
||||
<artifactId>javafx-scene-router</artifactId>
|
||||
<version>1.5.0</version>
|
||||
<version>1.5.1</version>
|
||||
<name>JavaFX Scene Router</name>
|
||||
<description>A library that provides a router implementation for JavaFX, for browser-like navigation between pages.</description>
|
||||
<url>https://github.com/andrewlalis/javafx-scene-router</url>
|
||||
|
|
|
@ -164,6 +164,7 @@ public class SceneRouter {
|
|||
CompletableFuture<Boolean> cf = new CompletableFuture<>();
|
||||
Platform.runLater(() -> {
|
||||
history.clearForward();
|
||||
breadCrumbs.setAll(history.getBreadCrumbs());
|
||||
cf.complete(true);
|
||||
});
|
||||
return cf;
|
||||
|
|
Loading…
Reference in New Issue