[Windows] Fix committing IME text without IME deactivation.

This commit is contained in:
bruvzg 2023-01-26 09:09:53 +02:00
parent 18a2e7ff6e
commit e08a6e692d
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 17 additions and 3 deletions

View file

@ -1724,6 +1724,10 @@ void LineEdit::insert_text_at_caret(String p_text) {
input_direction = (TextDirection)dir;
}
set_caret_column(caret_column + p_text.length());
if (!ime_text.is_empty()) {
_shape();
}
}
void LineEdit::clear_internal() {