mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 20:29:57 +00:00
Made sure race and class dialog shows the current player values.
This commit is contained in:
parent
2affe7cf78
commit
aaa80d1eb0
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,7 @@ void WindowManager::updateVisible()
|
|||
removeDialog(raceDialog);
|
||||
raceDialog = new RaceDialog(environment, gui->getViewSize());
|
||||
raceDialog->setNextButtonShow(raceChosen);
|
||||
raceDialog->setRaceId(playerRaceId);
|
||||
raceDialog->eventDone = MyGUI::newDelegate(this, &WindowManager::onRaceDialogDone);
|
||||
raceDialog->eventBack = MyGUI::newDelegate(this, &WindowManager::onRaceDialogBack);
|
||||
raceDialog->open();
|
||||
|
@ -212,6 +213,7 @@ void WindowManager::updateVisible()
|
|||
removeDialog(pickClassDialog);
|
||||
pickClassDialog = new PickClassDialog(environment, gui->getViewSize());
|
||||
pickClassDialog->setNextButtonShow(classChosen);
|
||||
pickClassDialog->setClassId(playerClass.name);
|
||||
pickClassDialog->eventDone = MyGUI::newDelegate(this, &WindowManager::onPickClassDialogDone);
|
||||
pickClassDialog->eventBack = MyGUI::newDelegate(this, &WindowManager::onPickClassDialogBack);
|
||||
pickClassDialog->open();
|
||||
|
|
Loading…
Reference in a new issue