Skip to content

Commit 591a298

Browse files
authored
Force "Filter Unknown Extensions" for overlay files (#18579)
1 parent 68e8274 commit 591a298

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

menu/menu_displaylist.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ static int filebrowser_parse(
245245
else if (!string_is_empty(path))
246246
{
247247
if ( type_default == FILE_TYPE_SHADER_PRESET
248-
|| type_default == FILE_TYPE_SHADER)
248+
|| type_default == FILE_TYPE_SHADER
249+
|| type_default == FILE_TYPE_OVERLAY
250+
|| type_default == FILE_TYPE_OSK_OVERLAY)
249251
filter_ext = true;
250252

251253
if (string_is_equal(label,

0 commit comments

Comments
 (0)