summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-04-04 00:08:08 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-06 12:47:50 +0200
commitbfb587f29d5ceb10472126415c56743c90097c66 (patch)
tree66d380cc5a9ef82e8742533fa28dd2b6cc3aa36e /Userland/Libraries
parent33887917e4ea5958c29947852a7ca9fbc4ff7175 (diff)
downloadserenity-bfb587f29d5ceb10472126415c56743c90097c66.zip
LibGUI: Implement column_headers_visible in AbstractTableView
This was declared but not defined. :yakfusion:
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGUI/AbstractTableView.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/AbstractTableView.cpp b/Userland/Libraries/LibGUI/AbstractTableView.cpp
index bc29dadf82..bea2f63ad9 100644
--- a/Userland/Libraries/LibGUI/AbstractTableView.cpp
+++ b/Userland/Libraries/LibGUI/AbstractTableView.cpp
@@ -387,6 +387,11 @@ void AbstractTableView::set_column_headers_visible(bool visible)
column_header().set_visible(visible);
}
+bool AbstractTableView::column_headers_visible() const
+{
+ return column_header().is_visible();
+}
+
void AbstractTableView::did_scroll()
{
AbstractView::did_scroll();