Set the parent group when we add a new contact to a MetaContact.

cusax-fix
Yana Stamcheva 16 years ago
parent e43f71d7f3
commit 878768d9d2

@ -84,16 +84,19 @@ public AddContactDialog(MainFrame mainFrame)
}
/**
*
* @param mainFrame
* @param metaContact
* Creates an <tt>AddContactDialog</tt> by specifying the parent window and
* a meta contact, to which to add the new contact.
* @param parentWindow the parent window
* @param metaContact the meta contact, to which to add the new contact
*/
public AddContactDialog(MainFrame mainFrame, MetaContact metaContact)
public AddContactDialog(MainFrame parentWindow, MetaContact metaContact)
{
this(mainFrame);
this(parentWindow);
this.metaContact = metaContact;
this.setSelectedGroup(metaContact.getParentMetaContactGroup());
this.setTitle(GuiActivator.getResources()
.getI18NString("service.gui.ADD_CONTACT")
+ " " + GuiActivator.getResources()

Loading…
Cancel
Save