1
0
Fork 0

Fix TextEdit BiDi override.

This commit is contained in:
Pāvels Nadtočajevs 2025-02-15 18:06:53 +02:00
parent b607110ad2
commit 9d7a1b5ab0
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ void TextEdit::Text::invalidate_cache(int p_line, bool p_text_changed) {
if (p_text_changed) {
text_line.data_buf->add_string(text_with_ime, font, font_size, language);
}
if (bidi_override_with_ime.is_empty()) {
if (!bidi_override_with_ime.is_empty()) {
TS->shaped_text_set_bidi_override(text_line.data_buf->get_rid(), bidi_override_with_ime);
}