diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-10 14:13:30 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-06-10 14:19:29 +0300 |
commit | 602a2d63d04c01b255e923f487feaf8208046ccb (patch) | |
tree | f8ec2b4ad4863dd69c0db9086a7a070220066388 | |
parent | e7b562fd63a2b71ec8a13235191094ba0e1a2d7c (diff) |
[openpgp] Fix enabling OpenPGP encryption when running wizard
Fixes #609
-rw-r--r-- | openpgp/gtk/wizard.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/gtk/wizard.py b/openpgp/gtk/wizard.py index 7d46e37..574f585 100644 --- a/openpgp/gtk/wizard.py +++ b/openpgp/gtk/wizard.py @@ -79,9 +79,8 @@ class KeyWizard(Gtk.Assistant): main_box.remove(sidebar) def _activate_encryption(self): - action = app.window.lookup_action( - 'set-encryption-%s' % self._chat_control.control_id) - action.activate(GLib.Variant("s", self._plugin.encryption_name)) + action = app.window.lookup_action('set-encryption') + action.activate(GLib.Variant('s', self._plugin.encryption_name)) def _on_page_change(self, assistant, page): if self.get_current_page() == Page.NEWKEY: |