From 9f9617eb37d29a4a7ffe222814bdebe89c291005 Mon Sep 17 00:00:00 2001 From: TheMorc Date: Thu, 24 Aug 2023 03:02:06 +0200 Subject: [PATCH] disable file picker filters macOS's file picker had issues with them being enabled and it works just fine without the filter being added. Probably applies to other file picker interfaces too --- src/components/chatinput.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/chatinput.cpp b/src/components/chatinput.cpp index 11333027..24fc22be 100644 --- a/src/components/chatinput.cpp +++ b/src/components/chatinput.cpp @@ -149,11 +149,6 @@ void ChatInputTextContainer::ShowFileChooser() { } }); - auto filter_all = Gtk::FileFilter::create(); - filter_all->set_name("All files (*.*)"); - filter_all->add_pattern("*.*"); - dlg->add_filter(filter_all); - dlg->run(); }