mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-18 16:40:41 -06:00
Merge pull request #469 from riku22/fix_edit_person_template
Fix edit person template
This commit is contained in:
commit
20ad268e5a
@ -228,7 +228,7 @@ class accountSettingsController(globalSettingsController):
|
|||||||
self.dialog.templates.sent_dm.SetLabel(_("Edit template for sent direct messages. Current template: {}").format(result))
|
self.dialog.templates.sent_dm.SetLabel(_("Edit template for sent direct messages. Current template: {}").format(result))
|
||||||
|
|
||||||
def edit_person_template(self, *args, **kwargs):
|
def edit_person_template(self, *args, **kwargs):
|
||||||
template = self.settings["templates"]["person"]
|
template = self.config["templates"]["person"]
|
||||||
control = EditTemplate(template=template, type="person")
|
control = EditTemplate(template=template, type="person")
|
||||||
result = control.run_dialog()
|
result = control.run_dialog()
|
||||||
if result != "": # Template has been saved.
|
if result != "": # Template has been saved.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user