Fix FindReplaceBar focus problems

This commit is contained in:
kobewi
2023-10-14 16:16:13 +02:00
parent 5fb9ff9986
commit c09a43abd7
2 changed files with 14 additions and 4 deletions

View File

@ -97,7 +97,7 @@ class FindReplaceBar : public HBoxContainer {
void _update_matches_label();
void _show_search(bool p_focus_replace = false, bool p_show_only = false);
void _hide_bar();
void _hide_bar(bool p_force_focus = false);
void _editor_text_changed();
void _search_options_changed(bool p_pressed);
@ -108,6 +108,7 @@ class FindReplaceBar : public HBoxContainer {
protected:
void _notification(int p_what);
virtual void unhandled_input(const Ref<InputEvent> &p_event) override;
void _focus_lost();
bool _search(uint32_t p_flags, int p_from_line, int p_from_col);