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:
parent
6bb289655c
commit
7950ed567c
2 changed files with 4 additions and 1 deletions
|
@ -858,7 +858,7 @@ deselect(int index)
|
|||
public void
|
||||
addNotify()
|
||||
{
|
||||
if (peer != null)
|
||||
if (peer == null)
|
||||
peer = getToolkit ().createList (this);
|
||||
super.addNotify ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue