You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
FindBar fix uninitialized results_count
Found by Valgrind.
(cherry picked from commit c254e97c6b)
This commit is contained in:
committed by
Rémi Verschelde
parent
48bda355f0
commit
28800cfb23
@@ -1685,6 +1685,8 @@ EditorHelpBit::EditorHelpBit() {
|
||||
}
|
||||
|
||||
FindBar::FindBar() {
|
||||
results_count = 0;
|
||||
|
||||
search_text = memnew(LineEdit);
|
||||
add_child(search_text);
|
||||
search_text->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
|
||||
Reference in New Issue
Block a user