forked from mirror/openmw-tes3mp
[Client] Disable back button in chargen race window
This commit is contained in:
parent
002013294a
commit
79351c737e
1 changed files with 11 additions and 0 deletions
|
@ -102,6 +102,17 @@ namespace MWGui
|
|||
getWidget(backButton, "BackButton");
|
||||
backButton->eventMouseButtonClick += MyGUI::newDelegate(this, &RaceDialog::onBackClicked);
|
||||
|
||||
/*
|
||||
Start of tes3mp change (major)
|
||||
|
||||
Disable back button here so players can't change their names after logging into
|
||||
their server accounts
|
||||
*/
|
||||
backButton->setVisible(false);
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
*/
|
||||
|
||||
MyGUI::Button* okButton;
|
||||
getWidget(okButton, "OKButton");
|
||||
okButton->setCaption(MWBase::Environment::get().getWindowManager()->getGameSettingString("sOK", ""));
|
||||
|
|
Loading…
Reference in a new issue