Merge pull request #751 from ANH25/addon-config-editor-title

Remove unicode isolation markers from add-on config editor title
This commit is contained in:
Damien Elmes 2020-08-31 11:10:44 +10:00 committed by GitHub
commit ec6164c807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ import anki
import aqt
import aqt.forms
from anki.httpclient import HttpClient
from anki.lang import _, ngettext
from anki.lang import _, ngettext, without_unicode_isolation
from aqt import gui_hooks
from aqt.qt import *
from aqt.utils import (
@ -1293,9 +1293,11 @@ class ConfigEditor(QDialog):
restoreGeom(self, "addonconf")
restoreSplitter(self.form.splitter, "addonconf")
self.setWindowTitle(
tr(
TR.ADDONS_CONFIG_WINDOW_TITLE,
name=self.mgr.addon_meta(addon).human_name(),
without_unicode_isolation(
tr(
TR.ADDONS_CONFIG_WINDOW_TITLE,
name=self.mgr.addon_meta(addon).human_name(),
)
)
)
self.show()