Fixes #465 Keep result menu data consistent, even when escaping and resuming
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4280 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 2524c18e10be5b535c476bda791fc1c62495b215 Former-commit-id: 53f949d80e6659be5707efe05af139f0269f5faf
This commit is contained in:
parent
fc62ed4ae1
commit
b84bfc2a8c
1 changed files with 4 additions and 5 deletions
|
@ -535,9 +535,11 @@ rmResRedisplay()
|
||||||
static void
|
static void
|
||||||
rmResScreenActivate(void * /* dummy */)
|
rmResScreenActivate(void * /* dummy */)
|
||||||
{
|
{
|
||||||
|
GfLogInfo("Entering Result menu ...\n");
|
||||||
|
|
||||||
// Configure the event loop.
|
// Configure the event loop.
|
||||||
GfuiApp().eventLoop().setRecomputeCB(rmUpdateRaceEngine);
|
GfuiApp().eventLoop().setRecomputeCB(rmUpdateRaceEngine);
|
||||||
GfuiApp().eventLoop().setRedisplayCB(rmResRedisplay);
|
GfuiApp().eventLoop().setRedisplayCB(rmResRedisplay);
|
||||||
|
|
||||||
// Request a redisplay for the next event loop.
|
// Request a redisplay for the next event loop.
|
||||||
GfuiApp().eventLoop().postRedisplay();
|
GfuiApp().eventLoop().postRedisplay();
|
||||||
|
@ -564,9 +566,6 @@ rmResScreenActivate(void * /* dummy */)
|
||||||
static void
|
static void
|
||||||
rmResScreenDeactivate(void * /* dummy */)
|
rmResScreenDeactivate(void * /* dummy */)
|
||||||
{
|
{
|
||||||
if (rmResRowText)
|
|
||||||
for (int i = 0; i < rmNMaxResRows; i++)
|
|
||||||
freez(rmResRowText[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue