mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibGUI/AbstractView: Expose activates_on_selection
This commit is contained in:
parent
27572c9d34
commit
dbbc583860
Notes:
sideshowbarker
2024-07-18 17:27:07 +09:00
Author: https://github.com/gmta
Commit: dbbc583860
Pull-request: https://github.com/SerenityOS/serenity/pull/7441
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ AbstractView::AbstractView()
|
||||||
: m_sort_order(SortOrder::Ascending)
|
: m_sort_order(SortOrder::Ascending)
|
||||||
, m_selection(*this)
|
, m_selection(*this)
|
||||||
{
|
{
|
||||||
|
REGISTER_BOOL_PROPERTY("activates_on_selection", activates_on_selection, set_activates_on_selection);
|
||||||
|
|
||||||
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue