1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +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); MWBase::Environment::get().getWindowManager()->removeDialog(mReviewDialog);
mReviewDialog = 0; mReviewDialog = 0;
mCreationStage = CSE_ReviewBack;
MWBase::Environment::get().getWindowManager()->popGuiMode();
MWBase::Environment::get().getWindowManager()->pushGuiMode(GM_Birth); MWBase::Environment::get().getWindowManager()->pushGuiMode(GM_Birth);
} }

View File

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