mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibGUI: Refactor the keyboard activation code a bit to use WeakPtr<GWidget>.
This commit is contained in:
@@ -66,7 +66,7 @@ void GButton::click()
|
||||
on_click(*this);
|
||||
}
|
||||
|
||||
bool GButton::accepts_keyboard_select() const
|
||||
bool GButton::supports_keyboard_activation() const
|
||||
{
|
||||
return is_enabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user