diff options
Diffstat (limited to 'libjava/java/awt/Button.java')
-rw-r--r-- | libjava/java/awt/Button.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/awt/Button.java b/libjava/java/awt/Button.java index ccc7821..139890f 100644 --- a/libjava/java/awt/Button.java +++ b/libjava/java/awt/Button.java @@ -261,13 +261,13 @@ processActionEvent(ActionEvent event) void dispatchEventImpl(AWTEvent e) { - super.dispatchEventImpl(e); - if (e.id <= ActionEvent.ACTION_LAST && e.id >= ActionEvent.ACTION_FIRST && (action_listeners != null || (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0)) processEvent(e); + else + super.dispatchEventImpl(e); } /*************************************************************************/ |