little bugfix
This commit is contained in:
parent
d549183d4e
commit
35adf028d4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue