diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
commit | b58d3656d79e5f9752a22d55c139294412084e4f (patch) | |
tree | bd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/gui/quickscreen.c | |
parent | c54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff) | |
download | rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.gz rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.zip |
FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/quickscreen.c')
-rw-r--r-- | apps/gui/quickscreen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index f03043d611..3922c94c4b 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c @@ -317,6 +317,9 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente * - an action taken while pressing the enter button, * then release the enter button*/ bool can_quit = false; + + push_current_activity(ACTIVITY_QUICKSCREEN); + FOR_NB_SCREENS(i) { screens[i].set_viewport(NULL); @@ -369,6 +372,7 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente viewportmanager_theme_undo(i, true); } + pop_current_activity(); return changed; } |