Skip to content

Commit 2423b2c

Browse files
ManiacOfGitHubfincs
authored andcommitted
fix crash when pressing x when the folder has no apps
1 parent 2753483 commit 2423b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ui/menu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ void menuUpdate(void)
176176
{
177177
workerSchedule(netloaderTask, NULL);
178178
}
179-
else if (down & KEY_X)
179+
else if ((down & KEY_X) && menu->nEntries > 0)
180180
{
181181
int i;
182182
menuEntry_s* me;

0 commit comments

Comments
 (0)