mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
LibGUI: Register AbstractTableView.column_headers_visible
This was used before by SystemMonitor but not actually registered.
This commit is contained in:
committed by
Andreas Kling
parent
bfb587f29d
commit
67b5aea2f9
@@ -5,6 +5,7 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibGUI/AbstractTableView.h>
|
||||
#include <LibGUI/Action.h>
|
||||
#include <LibGUI/Button.h>
|
||||
@@ -19,6 +20,8 @@ namespace GUI {
|
||||
|
||||
AbstractTableView::AbstractTableView()
|
||||
{
|
||||
REGISTER_BOOL_PROPERTY("column_headers_visible", column_headers_visible, set_column_headers_visible);
|
||||
|
||||
set_selection_behavior(SelectionBehavior::SelectRows);
|
||||
m_corner_button = add<Button>();
|
||||
m_corner_button->move_to_back();
|
||||
|
||||
Reference in New Issue
Block a user