changeset 9230:321fdaf68551

8134342: [Mac] run-sanity can no longer switch to the "Tabs and Menus" pane on Mac
author Morris Meyer <morris.meyer@oracle.com>
date Mon, 24 Aug 2015 17:19:04 -0400
parents b2f8540a4924
children 4750032c36d1
files apps/toys/Hello/src/main/java/hello/TestBuilder.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/toys/Hello/src/main/java/hello/TestBuilder.java	Sat Aug 22 00:31:37 2015 +0300
+++ b/apps/toys/Hello/src/main/java/hello/TestBuilder.java	Mon Aug 24 17:19:04 2015 -0400
@@ -447,7 +447,7 @@
                 new CheckMenuItem("Use _System Menu Bar");
             useSystemMenuBarCB.setSelected(true);
             menuBar.useSystemMenuBarProperty().
-                bind(useSystemMenuBarCB.selectedProperty());
+                bindBidirectional(useSystemMenuBarCB.selectedProperty());
             systemMenuBarMenu.getItems().add(useSystemMenuBarCB);
 
             menuBar.getMenus().add(systemMenuBarMenu);