Shortcuts.c fix regression from last bugfix

wiped out the lang id check which causes shortcuts menu to
pop error message when browsing to folders

shortcut menu uses the return to check for validity

Change-Id: I30061f034f99ea66844e45ea842e52843ea6062b
This commit is contained in:
William Wilgus 2021-03-18 13:23:24 -04:00
parent 48952d498d
commit 775645e649

View file

@ -137,7 +137,7 @@ uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *p
if (!is_valid)
{
if (open_plugin_entry.lang_id != LANG_SHORTCUTS)
if (lang_id != LANG_SHORTCUTS) /* from shortcuts menu */
splashf(HZ / 2, str(LANG_OPEN_PLUGIN_NOT_A_PLUGIN), pos);
op_clear_entry(&open_plugin_entry);
hash = 0;