From 01c9eb00e245a96dfd133790c7e2c8b1dcc886bc Mon Sep 17 00:00:00 2001 From: vtexier <vit@free.fr> Date: Thu, 20 Feb 2020 16:50:59 +0100 Subject: [PATCH] [fix] fix gui error if multiple clicks on next button in connection_cfg by pubkey Disabled button when clicked --- src/sakia/gui/dialogs/connection_cfg/controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sakia/gui/dialogs/connection_cfg/controller.py b/src/sakia/gui/dialogs/connection_cfg/controller.py index 3fb9fc39..fea5a3a3 100644 --- a/src/sakia/gui/dialogs/connection_cfg/controller.py +++ b/src/sakia/gui/dialogs/connection_cfg/controller.py @@ -358,6 +358,7 @@ The publication of this document will remove your identity from the network.</p> async def check_pubkey(self, checked=False): self._logger.debug("Is valid ? ") self.view.display_info(self.tr("connecting...")) + self.view.button_next.setDisabled(True) try: self.model.set_pubkey(self.view.edit_pubkey.text(), self.view.scrypt_params) self.model.set_uid(self.view.edit_uid.text()) -- GitLab