forked from len0rd/rockbox
[Bugfix] open_plugin_browse() not showing plugins
rockbox_browse() overrides the desired dirfilter with global_settings.dirfilter if you aren't using one of the SHOW_ modes > NUM_FILTER_MODES (which come with their own sideeffects) add flag BROWSE_DIRFILTER to override global_settings.dirfilter with browse_context.dirfilter add ability to set tc->browse to NULL to exit dirbrowse immediately Change-Id: I2f40d394f9dc0864b2041293eda219f7436a7bf0
This commit is contained in:
parent
b6d04d1ac0
commit
0c29d1788e
3 changed files with 24 additions and 5 deletions
|
|
@ -38,6 +38,7 @@ struct entry {
|
|||
#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */
|
||||
#define BROWSE_NO_CONTEXT_MENU 0x0002 /* disable context menu */
|
||||
#define BROWSE_RUNFILE 0x0004 /* do ft_open() on the file instead of browsing */
|
||||
#define BROWSE_DIRFILTER 0x0080 /* override global_settings.dirfilter with browse_context.dirfilter */
|
||||
#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue