fix placing corrected message when it contains special text. Fixes #7372
This commit is contained in:
parent
5f4fc5463b
commit
c952b6d754
|
@ -1095,7 +1095,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
|
||||||
if other_tags:
|
if other_tags:
|
||||||
insert_tags_func(end_iter, text_before_special_text, *other_tags)
|
insert_tags_func(end_iter, text_before_special_text, *other_tags)
|
||||||
|
|
Loading…
Reference in New Issue