You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #111529 from wagnerfs/fix-windows-native-filedialog-filters
Fix Windows native FileDialog filters not showing descriptions
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user