From 1ecf2f390d5ea26ec241fb1441f33e2b4a4e16f7 Mon Sep 17 00:00:00 2001 From: lovetox Date: Mon, 18 Apr 2022 21:18:13 +0200 Subject: [PATCH] =?UTF-8?q?[openpgp]=20Don=E2=80=99t=20show=20wizard=20twi?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openpgp/gtk/wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)