mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-28 20:06:41 +00:00
Made sure review dialog is removed before going to previous dialogs.
This commit is contained in:
parent
1c6b9a9b7b
commit
a0447bcd95
1 changed files with 12 additions and 0 deletions
|
@ -787,24 +787,36 @@ void WindowManager::onReviewDialogBack()
|
||||||
|
|
||||||
void WindowManager::onNameDialogActivate()
|
void WindowManager::onNameDialogActivate()
|
||||||
{
|
{
|
||||||
|
if (reviewDialog)
|
||||||
|
removeDialog(reviewDialog);
|
||||||
|
|
||||||
reviewNext = true;
|
reviewNext = true;
|
||||||
setGuiMode(GM_Name);
|
setGuiMode(GM_Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowManager::onRaceDialogActivate()
|
void WindowManager::onRaceDialogActivate()
|
||||||
{
|
{
|
||||||
|
if (reviewDialog)
|
||||||
|
removeDialog(reviewDialog);
|
||||||
|
|
||||||
reviewNext = true;
|
reviewNext = true;
|
||||||
setGuiMode(GM_Race);
|
setGuiMode(GM_Race);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowManager::onClassDialogActivate()
|
void WindowManager::onClassDialogActivate()
|
||||||
{
|
{
|
||||||
|
if (reviewDialog)
|
||||||
|
removeDialog(reviewDialog);
|
||||||
|
|
||||||
reviewNext = true;
|
reviewNext = true;
|
||||||
setGuiMode(GM_Class);
|
setGuiMode(GM_Class);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowManager::onBirthSignDialogActivate()
|
void WindowManager::onBirthSignDialogActivate()
|
||||||
{
|
{
|
||||||
|
if (reviewDialog)
|
||||||
|
removeDialog(reviewDialog);
|
||||||
|
|
||||||
reviewNext = true;
|
reviewNext = true;
|
||||||
setGuiMode(GM_Birth);
|
setGuiMode(GM_Birth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue