summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-03-18 13:23:24 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2021-03-18 13:23:24 -0400
commit775645e649aca4cccd8473de857deb19c5fcfb82 (patch)
tree1a82d88e11518f123bdcdbff98007b333697d461 /apps
parent48952d498d5735537c4ed903396200d5774dac59 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/open_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/open_plugin.c b/apps/open_plugin.c
index 2e9975adea..c64661f2e6 100644
--- a/apps/open_plugin.c
+++ b/apps/open_plugin.c
@@ -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;