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