GUI: Make GridWidget accept focus

This avoids the filter text to take the focus.
In Android this prevents the launcher to start with the virtual keyboard
displayed.
In the future, the widget could also take keyboards event into account
like the ListWidget one.
This commit is contained in:
Le Philousophe 2022-08-25 19:05:48 +02:00 committed by Lothar Serra Mari
parent f08089263f
commit 7d7de5930b

View file

@ -206,6 +206,8 @@ public:
void reflowLayout() override;
bool wantsFocus() override { return true; }
void openTray(int x, int y, int entryID);
void openTrayAtSelected();
void scrollBarRecalc();