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

AddContact: Set info button sensitive if JID is passed

parent 92d127ae
Pipeline #4235 passed with stages
in 2 minutes and 45 seconds
......@@ -137,6 +137,9 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
else:
uid, transport = app.get_name_and_server_from_jid(jid)
self.uid_entry.set_text(uid.replace('%', '@', 1))
self.show_contact_info_button.set_sensitive(True)
# 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