Merge pull request #469 from riku22/fix_edit_person_template

Fix edit person template
This commit is contained in:
Manuel Cortez 2022-04-29 08:15:49 -05:00 committed by GitHub
commit 20ad268e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.