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.
|
Replaces the selected text with word.
|
||||||
"""
|
"""
|
||||||
|
tag = tag.replace('&', '')
|
||||||
for html in FormattingTags.get_html_tags():
|
for html in FormattingTags.get_html_tags():
|
||||||
tag = tag.replace('&', '')
|
|
||||||
if tag == html['desc']:
|
if tag == html['desc']:
|
||||||
cursor = self.textCursor()
|
cursor = self.textCursor()
|
||||||
if self.textCursor().hasSelection():
|
if self.textCursor().hasSelection():
|
||||||
|
Loading…
Reference in New Issue
Block a user