harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r671868 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
Date Thu, 26 Jun 2008 12:13:12 GMT
Author: hindessm
Date: Thu Jun 26 05:13:12 2008
New Revision: 671868

URL: http://svn.apache.org/viewvc?rev=671868&view=rev
Log:
Applying patches from "[#HARMONY-5873] Fixes a problem in JComboBox that
fails JComboBox.testSetGetSelectedItem()".

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java?rev=671868&r1=671867&r2=671868&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
Thu Jun 26 05:13:12 2008
@@ -336,9 +336,6 @@
                 dataModel.setSelectedItem(element);
             } else if (isEditable && element != null && !element.equals(getEditor().getItem()))
{
                 getEditor().setItem(element);
-            } else {
-                // fire action event even if selection is not changed
-                fireActionEvent();
             }
         }
     }



Mime
View raw message