mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix Windows native FileDialog filters not showing descriptions
This commit is contained in:
parent
cb7cd815ee
commit
f835707f7a
2 changed files with 12 additions and 11 deletions
|
|
@ -555,7 +555,7 @@ void DisplayServerWindows::_thread_fd_monitor(void *p_ud) {
|
|||
if (!exts.is_empty()) {
|
||||
String str = String(";").join(exts);
|
||||
filter_exts.push_back(str.utf16());
|
||||
if (tokens.size() == 2) {
|
||||
if (tokens.size() >= 2) {
|
||||
filter_names.push_back(tokens[1].strip_edges().utf16());
|
||||
} else {
|
||||
filter_names.push_back(str.utf16());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue