[Windows] Fix committing IME text without IME deactivation.
This commit is contained in:
parent
18a2e7ff6e
commit
e08a6e692d
3 changed files with 17 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue