OSDN Git Service

fixed bug: selecting modes "autoAdjustMode" and "postProcessMode" in the menu does...
authorargius <argius.net@gmail.com>
Sun, 19 May 2013 06:32:54 +0000 (15:32 +0900)
committerargius <argius.net@gmail.com>
Sun, 19 May 2013 06:32:54 +0000 (15:32 +0900)
src/net/argius/stew/ui/window/Menu.java

index e97e3f6..acdaf7a 100644 (file)
@@ -137,6 +137,7 @@ final class Menu extends JMenuBar implements PropertyChangeListener {
             for (MenuElement menuGroup : parent.getSubElements()) {
                 for (MenuElement child : menuGroup.getSubElements()) {
                     JMenuItem o = (JMenuItem)child;
+                    o.addActionListener(aa);
                     itemToCompMap.put(Item.of(o.getActionCommand()), o);
                 }
             }