1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-05 12:45:33 +00:00

Chargen fix: Back sequence control.

Related to bug #894.
Eliminate double windows when using 'Back' from the review screen.
Force consistent back behavior (handling was changing after
a individual change button had been used).
This commit is contained in:
Jordan Ayers 2013-11-05 19:39:43 -06:00
parent e94da61ff0
commit d48cc27a89
2 changed files with 3 additions and 0 deletions

View file

@ -285,7 +285,9 @@ namespace MWGui
{
MWBase::Environment::get().getWindowManager()->removeDialog(mReviewDialog);
mReviewDialog = 0;
mCreationStage = CSE_ReviewBack;
MWBase::Environment::get().getWindowManager()->popGuiMode();
MWBase::Environment::get().getWindowManager()->pushGuiMode(GM_Birth);
}

View file

@ -104,6 +104,7 @@ namespace MWGui
CSE_RaceChosen,
CSE_ClassChosen,
CSE_BirthSignChosen,
CSE_ReviewBack,
CSE_ReviewNext
};