From 5a2501234e92036d2842b1968d7d1e0972244b8b Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 26 Sep 2021 12:47:02 +0200 Subject: [PATCH] Simplify code --- .../org/itsallcode/whiterabbit/jfxui/ui/MenuBarBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jfxui/src/main/java/org/itsallcode/whiterabbit/jfxui/ui/MenuBarBuilder.java b/jfxui/src/main/java/org/itsallcode/whiterabbit/jfxui/ui/MenuBarBuilder.java index 488824c0..9d31272a 100644 --- a/jfxui/src/main/java/org/itsallcode/whiterabbit/jfxui/ui/MenuBarBuilder.java +++ b/jfxui/src/main/java/org/itsallcode/whiterabbit/jfxui/ui/MenuBarBuilder.java @@ -61,7 +61,7 @@ public MenuBar build() .addAll(menuItem("_Plugin manager", "menuitem_pluginmanager", actions::showPluginManager)); menuHelp.getItems().addAll(menuItem("_About", "menuitem_about", actions::showAboutDialog)); menuBar.getMenus().addAll(menuFile, menuCalculations, menuReports, menuPlugins, menuHelp); - menuBar.useSystemMenuBarProperty().set(true); + menuBar.setUseSystemMenuBar(true); return menuBar; }