mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-79867 Windows, JGoodies Windows look and feel: "tick" symbol is not shown for selected items of tool window menu
This commit is contained in:
+1
-2
@@ -271,8 +271,7 @@ public class ActionMenuItem extends JCheckBoxMenuItem {
|
||||
if (isToggleable() && myPresentation.getIcon() == null) {
|
||||
action.update(myEvent);
|
||||
myToggled = Boolean.TRUE.equals(myEvent.getPresentation().getClientProperty(Toggleable.SELECTED_PROPERTY));
|
||||
if (ActionPlaces.MAIN_MENU.equals(myPlace) && SystemInfo.isMacSystemMenu ||
|
||||
UIUtil.isUnderWindowsLookAndFeel() || UIUtil.isUnderNimbusLookAndFeel()) {
|
||||
if ((ActionPlaces.MAIN_MENU.equals(myPlace) && SystemInfo.isMacSystemMenu) || UIUtil.isUnderNimbusLookAndFeel()) {
|
||||
setState(myToggled);
|
||||
}
|
||||
else if (!(getUI() instanceof GtkMenuItemUI)) {
|
||||
|
||||
Reference in New Issue
Block a user