Fix closing project setting window with ESC while listening for input

This is done by disallowing ESC to be used for closing the window
while the filter-LineEdit is focused.
This commit is contained in:
Markus Sauermann
2022-12-21 12:48:59 +01:00
parent 63f95c0e58
commit 3238d11247
4 changed files with 29 additions and 0 deletions

View File

@ -106,6 +106,9 @@ private:
bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
void _on_filter_focused();
void _on_filter_unfocused();
protected:
void _notification(int p_what);
static void _bind_methods();