OpenJDK / openjfx / 2u / dev / rt
changeset 1625:2ed8cef9d3d0 2.2.40-b27
Automated merge with ssh://jfxsrc.us.oracle.com//javafx/2u/MASTER/jfx/rt
author | kcr |
---|---|
date | Tue, 28 May 2013 14:48:15 -0700 |
parents | 61bab37d9f6f 709e2db27d46 |
children | fac50f983ffa |
files | |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/ContextMenuContent.java Wed May 22 14:43:33 2013 -0700 +++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/ContextMenuContent.java Tue May 28 14:48:15 2013 -0700 @@ -1184,6 +1184,7 @@ if (item instanceof CheckMenuItem) { CheckMenuItem checkItem = (CheckMenuItem)item; checkItem.setSelected(!checkItem.isSelected()); + getParent().impl_processCSS(false); } else if (item instanceof RadioMenuItem) { // this is a radio button. If there is a toggleGroup specified, we // simply set selected to true. If no toggleGroup is specified, we @@ -1191,6 +1192,7 @@ // exclusivity when no toggleGroup is set. final RadioMenuItem radioItem = (RadioMenuItem) item; radioItem.setSelected(radioItem.getToggleGroup() != null ? true : !radioItem.isSelected()); + getParent().impl_processCSS(false); } // fire the action before hiding the menu