diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-27 14:41:49 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-27 14:43:35 +0100 |
commit | 3523071bb7527159f213d3710f4c74d10cf93b1a (patch) | |
tree | d9c8132e7b748300102a37fd24ffe2d85986dee7 /Libraries/LibGUI/FilePicker.cpp | |
parent | e52d1a02c8c767dd29c448819cf0fd62a47fd53a (diff) | |
download | serenity-3523071bb7527159f213d3710f4c74d10cf93b1a.zip |
LibGUI: Disable the ColumnsView subview in MultiView for now
This is causing FilePicker to log a bunch of debug noise due to the
missing support for tree models in SortingProxyModel and it's not
helping anyone so let's just disable it.
This needs fixing in SortingProxyModel.
Diffstat (limited to 'Libraries/LibGUI/FilePicker.cpp')
-rw-r--r-- | Libraries/LibGUI/FilePicker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp index 3ae4187d63..5ee3a59751 100644 --- a/Libraries/LibGUI/FilePicker.cpp +++ b/Libraries/LibGUI/FilePicker.cpp @@ -156,9 +156,10 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView& toolbar->add_action(m_view->view_as_icons_action()); toolbar->add_action(m_view->view_as_table_action()); - // FIXME: Enable this once GUI::ColumnsView doesn't crash when used here. +#ifdef MULTIVIEW_WITH_COLUMNSVIEW m_view->view_as_columns_action().set_enabled(false); toolbar->add_action(m_view->view_as_columns_action()); +#endif auto lower_container = vertical_container->add<Widget>(); lower_container->set_layout(make<VerticalBoxLayout>()); |