mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibGUI: Make TabWidget unfocusable when tab-less
If there are no tab buttons or tab children, don't participate in the focus chain.
This commit is contained in:
parent
0b798a50dc
commit
3f4df354cb
2 changed files with 13 additions and 1 deletions
|
@ -105,6 +105,7 @@ private:
|
|||
Gfx::IntRect bar_rect() const;
|
||||
Gfx::IntRect container_rect() const;
|
||||
void update_bar();
|
||||
void update_focus_policy();
|
||||
|
||||
RefPtr<Widget> m_active_widget;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue