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/macos/godot_open_save_delegate.mm | |
parent | 673f396677654220d7e1d5b6fb5ed3b50126b4e6 (diff) | |
download | redot-engine-f5fad7592f1f54cab03a5f04667f4254e6c39c40.tar.gz |
Use processed filter list for native dialogs.
Diffstat (limited to 'platform/macos/godot_open_save_delegate.mm')
-rw-r--r-- | platform/macos/godot_open_save_delegate.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/godot_open_save_delegate.mm b/platform/macos/godot_open_save_delegate.mm index 6ffd939545..0d6bfa0c53 100644 --- a/platform/macos/godot_open_save_delegate.mm +++ b/platform/macos/godot_open_save_delegate.mm @@ -130,7 +130,7 @@ } if ([type_filters count] > 0) { - NSString *name_str = [NSString stringWithUTF8String:((tokens.size() == 1) ? tokens[0] : vformat("%s (%s)", tokens[1].strip_edges(), tokens[0].strip_edges())).utf8().get_data()]; + NSString *name_str = [NSString stringWithUTF8String:((tokens.size() == 1) ? tokens[0] : tokens[1].strip_edges()).utf8().get_data()]; [new_allowed_types addObject:type_filters]; [popup addItemWithTitle:name_str]; } |