Merge pull request #65412 from lawnjelly/findbar_uninit

FindBar fix uninitialized results_count
This commit is contained in:
Rémi Verschelde 2022-09-06 12:31:02 +02:00
commit ab8d55ca28

View file

@ -1695,6 +1695,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));