List.java (addNotify): Correctly check to see if peer does not exist.
* java/awt/List.java (addNotify): Correctly check to see if peer does not exist. From-SVN: r49335
This commit is contained in:
@@ -858,7 +858,7 @@ deselect(int index)
|
||||
public void
|
||||
addNotify()
|
||||
{
|
||||
if (peer != null)
|
||||
if (peer == null)
|
||||
peer = getToolkit ().createList (this);
|
||||
super.addNotify ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user