diff options
author | Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com> | 2024-11-15 08:43:07 +0200 |
---|---|---|
committer | Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com> | 2024-11-15 12:08:33 +0200 |
commit | f5fad7592f1f54cab03a5f04667f4254e6c39c40 (patch) | |
tree | 5184b047771cd967ccb8c7a7701e1e6c9a06fd12 /platform/linuxbsd/freedesktop_portal_desktop.cpp | |
parent | 673f396677654220d7e1d5b6fb5ed3b50126b4e6 (diff) | |
download | redot-engine-f5fad7592f1f54cab03a5f04667f4254e6c39c40.tar.gz |
Use processed filter list for native dialogs.
Diffstat (limited to 'platform/linuxbsd/freedesktop_portal_desktop.cpp')
-rw-r--r-- | platform/linuxbsd/freedesktop_portal_desktop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/freedesktop_portal_desktop.cpp b/platform/linuxbsd/freedesktop_portal_desktop.cpp index 94a748e414..63eed41cd3 100644 --- a/platform/linuxbsd/freedesktop_portal_desktop.cpp +++ b/platform/linuxbsd/freedesktop_portal_desktop.cpp @@ -394,7 +394,7 @@ Error FreeDesktopPortalDesktop::file_dialog_show(DisplayServer::WindowID p_windo } else { if (flt == "*.*") { filter_exts.push_back("*"); - filter_names.push_back(RTR("All Files")); + filter_names.push_back(RTR("All Files") + " (*)"); } else { filter_exts.push_back(flt); filter_names.push_back(flt); @@ -405,7 +405,7 @@ Error FreeDesktopPortalDesktop::file_dialog_show(DisplayServer::WindowID p_windo } if (filter_names.is_empty()) { filter_exts.push_back("*"); - filter_names.push_back(RTR("All Files")); + filter_names.push_back(RTR("All Files") + " (*)"); } DBusError err; |