From 83c9a7f0f972c98f374f7a0cf4e2d0c42af5f74f Mon Sep 17 00:00:00 2001 From: riku Date: Fri, 29 Apr 2022 21:45:06 +0900 Subject: [PATCH] Fix edit person template --- src/controller/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/settings.py b/src/controller/settings.py index a8ae5702..81b077c7 100644 --- a/src/controller/settings.py +++ b/src/controller/settings.py @@ -228,7 +228,7 @@ class accountSettingsController(globalSettingsController): self.dialog.templates.sent_dm.SetLabel(_("Edit template for sent direct messages. Current template: {}").format(result)) def edit_person_template(self, *args, **kwargs): - template = self.settings["templates"]["person"] + template = self.config["templates"]["person"] control = EditTemplate(template=template, type="person") result = control.run_dialog() if result != "": # Template has been saved.