Skip to content
Snippets Groups Projects
Commit 23f45ccc authored by inso's avatar inso
Browse files

Fix bug when user has no contact

parent 3bfdf746
Branches
Tags
No related merge requests found
...@@ -38,6 +38,9 @@ class CertificationDialog(QDialog, Ui_CertificationDialog): ...@@ -38,6 +38,9 @@ class CertificationDialog(QDialog, Ui_CertificationDialog):
for contact in certifier.contacts: for contact in certifier.contacts:
self.combo_contact.addItem(contact['name']) self.combo_contact.addItem(contact['name'])
if len(certifier.contacts) == 0:
self.radio_pubkey.setChecked(True)
self.radio_contact.setEnabled(False)
@classmethod @classmethod
@asyncio.coroutine @asyncio.coroutine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment