This commit is contained in:
crschnick
2024-05-15 09:19:16 +00:00
parent f4f3f21a70
commit c73b7de9a6
@@ -75,6 +75,11 @@ public class BrowserQuickAccessContextMenu extends ContextMenu {
updateMenuItems(r, entry, true);
Platform.runLater(() -> {
getItems().addAll(r.getItems());
// Prevent NPE in show()
if (getScene() == null) {
return;
}
show(anchor, Side.RIGHT, 0, 0);
});
});