diff --git a/src/config.py b/src/config.py index 418bfd57f..7d9a09e18 100644 --- a/src/config.py +++ b/src/config.py @@ -1588,7 +1588,8 @@ class ServiceRegistrationWindow: table.attach(label, 0, 1, nbrow - 1, nbrow, 0, 0, 0, 0) entry = gtk.Entry() entry.set_activates_default(True) - entry.set_text(self.infos[name]) + if self.infos[name]: + entry.set_text(self.infos[name]) if name == 'password': entry.set_visibility(False) table.attach(entry, 1, 2, nbrow - 1, nbrow, 0, 0, 0, 0)