mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 11:01:17 +00:00
Merge pull request #99644 from bruvzg/fd_all_name
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
This commit is contained in:
commit
60e1490df1
5 changed files with 6 additions and 6 deletions
|
|
@ -399,7 +399,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);
|
||||
|
|
@ -410,7 +410,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue