Merge pull request #52583 from e8newallm/52360

Removed updates that caused unnecessary window updates
This commit is contained in:
Rémi Verschelde 2021-09-14 20:54:05 +02:00 committed by GitHub
commit 72c813630f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -2034,7 +2034,9 @@ String CodeEdit::get_text_for_symbol_lookup() {
void CodeEdit::set_symbol_lookup_word_as_valid(bool p_valid) {
symbol_lookup_word = p_valid ? symbol_lookup_new_word : "";
symbol_lookup_new_word = "";
_set_symbol_lookup_word(symbol_lookup_word);
if (lookup_symbol_word != symbol_lookup_word) {
_set_symbol_lookup_word(symbol_lookup_word);
}
}
void CodeEdit::_bind_methods() {