From 53a47970e30bbe518442aa59e4ff5b126c66c581 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 23 Nov 2023 12:26:08 -0500 Subject: [BUGFIX] some files wouldn't run as shortcut make sure we have a chance to get the dirfilter otherwise it may be rejected adds some sanity checks and safeguards too Change-Id: Ibdad288ace0c8bf6ac7b8f46722a43aebead829e --- apps/plugins/shortcuts/shortcuts_view.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/shortcuts/shortcuts_view.c') diff --git a/apps/plugins/shortcuts/shortcuts_view.c b/apps/plugins/shortcuts/shortcuts_view.c index 187ed740a1..e0146f3174 100644 --- a/apps/plugins/shortcuts/shortcuts_view.c +++ b/apps/plugins/shortcuts/shortcuts_view.c @@ -247,6 +247,7 @@ int goto_entry(char *file_or_dir) if (open_browse(file_or_dir, tmp_buf, sizeof(tmp_buf))) { DEBUGF("Trying to load '%s'...\n", tmp_buf); + rb->set_dirfilter(rb->global_settings->dirfilter); rb->set_current_file(tmp_buf); return LOOP_EXIT; } -- cgit v1.2.3