LibGUI: Show the columns view action in the toolbar (but disable it)

We'll enable it once ColumnsView is less crashy. :^)
This commit is contained in:
Andreas Kling 2020-02-24 21:23:00 +01:00
parent 90c4e6b000
commit ab9a0780e3
Notes: sideshowbarker 2024-07-19 09:04:44 +09:00

View file

@ -157,9 +157,8 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
toolbar->add_action(m_view->view_as_table_action());
// FIXME: Enable this once GUI::ColumnsView doesn't crash when used here.
#if 0
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>());