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/FilePicker.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/FilePicker.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/FilePicker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibGUI/FilePicker.cpp b/Userland/Libraries/LibGUI/FilePicker.cpp index e5f33e203c..99958bff93 100644 --- a/Userland/Libraries/LibGUI/FilePicker.cpp +++ b/Userland/Libraries/LibGUI/FilePicker.cpp @@ -113,11 +113,11 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, const StringView& file_ m_view->set_model(SortingProxyModel::create(*m_model)); m_view->set_model_column(FileSystemModel::Column::Name); m_view->set_key_column_and_sort_order(GUI::FileSystemModel::Column::Name, GUI::SortOrder::Ascending); - m_view->set_column_hidden(FileSystemModel::Column::Owner, true); - m_view->set_column_hidden(FileSystemModel::Column::Group, true); - m_view->set_column_hidden(FileSystemModel::Column::Permissions, true); - m_view->set_column_hidden(FileSystemModel::Column::Inode, true); - m_view->set_column_hidden(FileSystemModel::Column::SymlinkTarget, true); + m_view->set_column_visible(FileSystemModel::Column::Owner, true); + m_view->set_column_visible(FileSystemModel::Column::Group, true); + m_view->set_column_visible(FileSystemModel::Column::Permissions, true); + m_view->set_column_visible(FileSystemModel::Column::Inode, true); + m_view->set_column_visible(FileSystemModel::Column::SymlinkTarget, true); set_path(path); |