mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
LibGUI: Focus the first focusable widget added to a window
It feels really awkward if nothing is focused when opening a window.
This commit is contained in:
parent
65d94a1e74
commit
4806cd122d
3 changed files with 11 additions and 2 deletions
|
@ -183,7 +183,8 @@ public:
|
|||
|
||||
Action* action_for_key_event(const KeyEvent&);
|
||||
|
||||
void did_remove_widget(Badge<Widget>, const Widget&);
|
||||
void did_add_widget(Badge<Widget>, Widget&);
|
||||
void did_remove_widget(Badge<Widget>, Widget&);
|
||||
|
||||
Window* find_parent_window();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue