forked from len0rd/rockbox
Correctly auto-save bookmarks when powering off in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7955 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
09fce707c1
commit
313cfc000b
1 changed files with 5 additions and 0 deletions
|
|
@ -567,6 +567,11 @@ long gui_wps_show(void)
|
|||
update_track = true;
|
||||
break;
|
||||
|
||||
case SYS_POWEROFF:
|
||||
bookmark_autobookmark();
|
||||
default_event_handler(SYS_POWEROFF);
|
||||
break;
|
||||
|
||||
default:
|
||||
if(default_event_handler(button) == SYS_USB_CONNECTED)
|
||||
return SYS_USB_CONNECTED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue