Commit 2c4f4d1e authored by Philipp Hörist's avatar Philipp Hörist

AddContact: Set info button sensitive if JID is passed

parent 92d127ae
......@@ -137,6 +137,9 @@ def __init__(self, account=None, jid=None, user_nick=None, group=None):
uid, transport = app.get_name_and_server_from_jid(jid)
self.uid_entry.set_text(uid.replace('%', '@', 1))
# set protocol_combobox
model = self.protocol_combobox.get_model()
iter_ = model.get_iter_first()
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