mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibGUI: Register AbstractTableView.column_headers_visible
This was used before by SystemMonitor but not actually registered.
This commit is contained in:
parent
bfb587f29d
commit
67b5aea2f9
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue