diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-05 11:57:47 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-05 11:57:47 +0200 |
commit | 52de9b175376f11676e2ea2d32207332f5923069 (patch) | |
tree | 40a496b37ba6827fd5e12c77626f7e608fbc67c5 /Userland/Libraries/LibGUI/MultiView.cpp | |
parent | cbc582e0dfbbd8345342971b56362f366c65579c (diff) | |
download | serenity-52de9b175376f11676e2ea2d32207332f5923069.zip |
LibGUI: Do AbstractView::set_column_hidden() => set_column_visible()
This API felt backwards, so let's change it.
Diffstat (limited to 'Userland/Libraries/LibGUI/MultiView.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/MultiView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/MultiView.cpp b/Userland/Libraries/LibGUI/MultiView.cpp index 1fcff6446f..d419463f89 100644 --- a/Userland/Libraries/LibGUI/MultiView.cpp +++ b/Userland/Libraries/LibGUI/MultiView.cpp @@ -116,9 +116,9 @@ void MultiView::set_model_column(int column) m_columns_view->set_model_column(column); } -void MultiView::set_column_hidden(int column_index, bool hidden) +void MultiView::set_column_visible(int column_index, bool visible) { - m_table_view->set_column_hidden(column_index, hidden); + m_table_view->set_column_visible(column_index, visible); } void MultiView::build_actions() |