forked from len0rd/rockbox
fix FS#10957 - the wps backdrop is always shown in the "create bookmark?" ask screen (Actual fix is to always enable the theme in the yesno screen)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24560 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
71e77aaff8
commit
dc3f746af2
1 changed files with 5 additions and 2 deletions
|
@ -144,7 +144,7 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
|
|||
yn[i].result_message[YESNO_NO]=no_message;
|
||||
yn[i].display=&screens[i];
|
||||
yn[i].vp = &vp[i];
|
||||
viewport_set_defaults(yn[i].vp, i);
|
||||
viewportmanager_theme_enable(i, true, yn[i].vp);
|
||||
screens[i].stop_scroll();
|
||||
gui_yesno_draw(&(yn[i]));
|
||||
}
|
||||
|
@ -186,7 +186,10 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
|
|||
if(result_displayed)
|
||||
sleep(HZ);
|
||||
|
||||
FOR_NB_SCREENS(i) /* stop scrolling before getting out */
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
screens[i].scroll_stop(yn[i].vp);
|
||||
viewportmanager_theme_undo(i, true);
|
||||
}
|
||||
return(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue