Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-04-18 22:18:13 +0300
committerlovetox <philipp@hoerist.com>2022-04-18 22:18:13 +0300
commit1ecf2f390d5ea26ec241fb1441f33e2b4a4e16f7 (patch)
treebc8cca06e83bbb126971f477195daf37c25d4244
parentd1e63e2797a57202082e1d6700b2c5e89dabf273 (diff)
[openpgp] Don’t show wizard twice
-rw-r--r--openpgp/gtk/wizard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/gtk/wizard.py b/openpgp/gtk/wizard.py
index a64dbe1..5b6e76c 100644
--- a/openpgp/gtk/wizard.py
+++ b/openpgp/gtk/wizard.py
@@ -171,10 +171,10 @@ class NewKeyPage(RequestPage):
def finished(self, error):
if error is None:
- self._assistant.set_current_page(Page.SUCCESS)
self._con.get_module('OpenPGP').get_own_key_details()
self._con.get_module('OpenPGP').set_public_key()
self._con.get_module('OpenPGP').request_keylist()
+ self._assistant.set_current_page(Page.SUCCESS)
else:
error_page = self._assistant.get_nth_page(Page.ERROR)
error_page.set_text(error)