summaryrefslogtreecommitdiff
path: root/apps/gui/quickscreen.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
commitb58d3656d79e5f9752a22d55c139294412084e4f (patch)
treebd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/gui/quickscreen.c
parentc54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff)
downloadrockbox-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.c4
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
317 * - an action taken while pressing the enter button, 317 * - an action taken while pressing the enter button,
318 * then release the enter button*/ 318 * then release the enter button*/
319 bool can_quit = false; 319 bool can_quit = false;
320
321 push_current_activity(ACTIVITY_QUICKSCREEN);
322
320 FOR_NB_SCREENS(i) 323 FOR_NB_SCREENS(i)
321 { 324 {
322 screens[i].set_viewport(NULL); 325 screens[i].set_viewport(NULL);
@@ -369,6 +372,7 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente
369 viewportmanager_theme_undo(i, true); 372 viewportmanager_theme_undo(i, true);
370 } 373 }
371 374
375 pop_current_activity();
372 return changed; 376 return changed;
373} 377}
374 378