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

Refresh certification dialog on opening

parent 303f42f8
Branches
Tags
No related merge requests found
...@@ -84,6 +84,7 @@ class CertificationDialog(QObject): ...@@ -84,6 +84,7 @@ class CertificationDialog(QObject):
""" """
dialog = cls(app, account, password_asker, QDialog(), Ui_CertificationDialog()) dialog = cls(app, account, password_asker, QDialog(), Ui_CertificationDialog())
dialog.ui.combo_community.setCurrentText(community.name) dialog.ui.combo_community.setCurrentText(community.name)
dialog.refresh()
return dialog.exec() return dialog.exec()
@classmethod @classmethod
...@@ -101,6 +102,7 @@ class CertificationDialog(QObject): ...@@ -101,6 +102,7 @@ class CertificationDialog(QObject):
dialog.ui.combo_community.setCurrentText(community.name) dialog.ui.combo_community.setCurrentText(community.name)
dialog.ui.edit_pubkey.setText(identity.pubkey) dialog.ui.edit_pubkey.setText(identity.pubkey)
dialog.ui.radio_pubkey.setChecked(True) dialog.ui.radio_pubkey.setChecked(True)
dialog.refresh()
return await dialog.async_exec() return await dialog.async_exec()
@asyncify @asyncify
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment