fix placing corrected message when it contains special text. Fixes #7372
This commit is contained in:
parent
1bd9d8e53c
commit
e96a2f2604
1 changed files with 0 additions and 1 deletions
|
@ -1085,7 +1085,6 @@ class ConversationTextview(gobject.GObject):
|
||||||
special_text = otext[start:end]
|
special_text = otext[start:end]
|
||||||
if start > index:
|
if start > index:
|
||||||
text_before_special_text = otext[index:start]
|
text_before_special_text = otext[index:start]
|
||||||
end_iter = buffer_.get_end_iter()
|
|
||||||
# we insert normal text
|
# we insert normal text
|
||||||
insert_tags_func(end_iter, text_before_special_text, *other_tags)
|
insert_tags_func(end_iter, text_before_special_text, *other_tags)
|
||||||
index = end # update index
|
index = end # update index
|
||||||
|
|
Loading…
Add table
Reference in a new issue