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:
parent
f08089263f
commit
7d7de5930b
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,8 @@ public:
|
||||||
|
|
||||||
void reflowLayout() override;
|
void reflowLayout() override;
|
||||||
|
|
||||||
|
bool wantsFocus() override { return true; }
|
||||||
|
|
||||||
void openTray(int x, int y, int entryID);
|
void openTray(int x, int y, int entryID);
|
||||||
void openTrayAtSelected();
|
void openTrayAtSelected();
|
||||||
void scrollBarRecalc();
|
void scrollBarRecalc();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue