diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-31 11:10:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 11:10:14 +0200 |
commit | 2f386ac100f6ab7577293a756ab38698e8276f28 (patch) | |
tree | 521cffb2ca0558cb82a2e5272b1a5edb2a140017 /editor/code_editor.cpp | |
parent | 04b85add38fcd38781ea69d8afe6bff63d070114 (diff) | |
parent | 7860710d276f457a0a7a421a90b9d4d37028b07e (diff) |
Merge pull request #49162 from Paulb23/fix_find_text_change_signal
Fix FindReplaceBar text_change signal binding after replace all
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 87ac16fdcf..97ba5d7a5f 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -302,7 +302,7 @@ void FindReplaceBar::_replace_all() { matches_label->add_theme_color_override("font_color", rc > 0 ? get_theme_color("font_color", "Label") : get_theme_color("error_color", "Editor")); matches_label->set_text(vformat(TTR("%d replaced."), rc)); - text_editor->call_deferred("connect", "text_changed", Callable(this, "_editor_text_changed")); + text_editor->call_deferred("connect", "text_changed", callable_mp(this, &FindReplaceBar::_editor_text_changed)); results_count = -1; } |