forked from openlp/openlp
Improve performance
This commit is contained in:
parent
af36dc4c41
commit
6d3ad3af3f
@ -142,8 +142,8 @@ class SpellTextEdit(QtWidgets.QPlainTextEdit):
|
||||
"""
|
||||
Replaces the selected text with word.
|
||||
"""
|
||||
tag = tag.replace('&', '')
|
||||
for html in FormattingTags.get_html_tags():
|
||||
tag = tag.replace('&', '')
|
||||
if tag == html['desc']:
|
||||
cursor = self.textCursor()
|
||||
if self.textCursor().hasSelection():
|
||||
|
Loading…
Reference in New Issue
Block a user