1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

LibGUI/AbstractView: Expose activates_on_selection

This commit is contained in:
Jelle Raaijmakers 2021-05-24 14:04:29 +02:00 committed by Ali Mohammad Pur
parent 27572c9d34
commit dbbc583860

View file

@ -23,6 +23,8 @@ AbstractView::AbstractView()
: m_sort_order(SortOrder::Ascending)
, m_selection(*this)
{
REGISTER_BOOL_PROPERTY("activates_on_selection", activates_on_selection, set_activates_on_selection);
set_focus_policy(GUI::FocusPolicy::StrongFocus);
}