forked from len0rd/rockbox
tree: fix return to root after adding to existing playlist
When adding files to an existing playlist from the database or file browser, Rockbox returns to the root menu afterwards. Appears to be a regression introduced in commit72c539d
for the file browser. For the database, it has only become noticeable since commit188f025
Change-Id: Iac48fe74d20d25f083005f6ebff5abc7ee425080
This commit is contained in:
parent
20948c1b0e
commit
9a84e9eb34
1 changed files with 3 additions and 2 deletions
|
@ -1101,12 +1101,13 @@ int rockbox_browse(struct browse_context *browse)
|
||||||
ret_val = dirbrowse();
|
ret_val = dirbrowse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tc.is_browsing = false;
|
||||||
|
|
||||||
backup_count--;
|
backup_count--;
|
||||||
if (backup_count >= 0)
|
if (backup_count >= 0)
|
||||||
tc = backups[backup_count];
|
tc = backups[backup_count];
|
||||||
|
|
||||||
tc.is_browsing = false;
|
|
||||||
|
|
||||||
return ret_val;
|
return ret_val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue