We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b75d9 commit d711f10Copy full SHA for d711f10
src/qz/ui/tray/AWTMenuWrapper.java
@@ -76,6 +76,9 @@ private void wrapItemListeners(final JMenuItem item) {
76
private void wrapState(JMenuItem item) {
77
if (this.item instanceof CheckboxMenuItem && item instanceof JCheckBoxMenuItem) {
78
((CheckboxMenuItem)this.item).setState(((JCheckBoxMenuItem)item).getState());
79
+ item.addChangeListener(e -> {
80
+ ((CheckboxMenuItem)this.item).setState(((JCheckBoxMenuItem)item).getState());
81
+ });
82
}
83
84
0 commit comments