summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-24 21:23:00 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-24 21:23:00 +0100
commitab9a0780e35a027893c26cd187f93530ca2ffe33 (patch)
tree7b4ed7c3d1c18d0bff9037ffc130c242bcac201a /Libraries
parent90c4e6b000dd9b73e87b343d9b5ca6ff06717e1e (diff)
downloadserenity-ab9a0780e35a027893c26cd187f93530ca2ffe33.zip
LibGUI: Show the columns view action in the toolbar (but disable it)
We'll enable it once ColumnsView is less crashy. :^)
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/FilePicker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp
index 6cacd95d73..3ae4187d63 100644
--- a/Libraries/LibGUI/FilePicker.cpp
+++ b/Libraries/LibGUI/FilePicker.cpp
@@ -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>());