Fix net selector filter field focus on GTK.

(cherry picked from commit 7eeb1a19cf)
This commit is contained in:
Alex Shvartzkop 2024-02-21 02:39:30 +03:00
parent cb25c8620e
commit 3edfcb039c
1 changed files with 2 additions and 0 deletions

View File

@ -529,7 +529,9 @@ protected:
void doSetFocus( wxWindow* aWindow ) void doSetFocus( wxWindow* aWindow )
{ {
#ifndef __WXGTK__ // Cannot focus in non-toplevel windows on GTK
KIPLATFORM::UI::ForceFocus( aWindow ); KIPLATFORM::UI::ForceFocus( aWindow );
#endif
} }
protected: protected: