Commit 7af108ab authored by Dan Pascu's avatar Dan Pascu

Fixed bug that could cause a contact to be overwritten when adding another

parent 1905ab43
......@@ -1999,6 +1999,7 @@ class ContactEditorDialog(base_class, ui_class):
self.accepted.connect(self.process_contact)
def open_for_add(self, sip_address=u'', target_group=None):
self.edited_contact = None
self.sip_address_editor.setText(sip_address)
self.display_name_editor.setText(u'')
self.sip_aliases_editor.setText(u'')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment