diff options
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/FontEditor/MainWidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/MainWidget.cpp b/Userland/Applications/FontEditor/MainWidget.cpp index dc885d26b5..07c88ffa49 100644 --- a/Userland/Applications/FontEditor/MainWidget.cpp +++ b/Userland/Applications/FontEditor/MainWidget.cpp @@ -130,7 +130,9 @@ ErrorOr<void> MainWidget::create_actions() m_open_action = GUI::CommonActions::make_open_action([this](auto&) { if (!request_close()) return; - auto response = FileSystemAccessClient::Client::the().open_file(window(), "Open font file", "/res/fonts"sv); + auto response = FileSystemAccessClient::Client::the().open_file(window(), "Open", "/res/fonts"sv, Core::File::OpenMode::Read, + { { GUI::FileTypeFilter { "Bitmap Font Files", { { "font" } } }, + GUI::FileTypeFilter::all_files() } }); if (response.is_error()) return; auto file = response.release_value(); |