mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
LibGUI/AbstractView: Expose activates_on_selection
This commit is contained in:
parent
27572c9d34
commit
dbbc583860
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