Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
1ecf2f39
Commit
1ecf2f39
authored
Apr 18, 2022
by
Philipp Hörist
Browse files
[openpgp] Don’t show wizard twice
parent
d1e63e27
Changes
1
Hide whitespace changes
Inline
Side-by-side
openpgp/gtk/wizard.py
View file @
1ecf2f39
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment