mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
typofix. also, repopulate pref GuiTextEditCtrl each onWake just to be sure
This commit is contained in:
parent
e4342079f1
commit
f4491f8202
|
|
@ -26,12 +26,11 @@ function ChooseLevelMenu::onAdd( %this )
|
|||
new AssetQuery(ChooseLevelAssetQuery);
|
||||
|
||||
%this.previewButtonSize = "445 120";
|
||||
%this.fillPrefEntries();
|
||||
}
|
||||
|
||||
function ChooseLevelMenu::fillPrefEntries( %this )
|
||||
{
|
||||
serverNameCTRL.setText($Pref::Player::Name);
|
||||
playerNameCTRL.setText($Pref::Player::Name);
|
||||
serverNameCTRL.setText($Pref::Server::Name);
|
||||
serverPassCTRL.setText($Pref::Server::Password);
|
||||
serverInfoCTRL.setText($Pref::Server::Info);
|
||||
|
|
@ -40,6 +39,7 @@ function ChooseLevelMenu::fillPrefEntries( %this )
|
|||
|
||||
function ChooseLevelMenu::onWake(%this)
|
||||
{
|
||||
%this.fillPrefEntries();
|
||||
LevelPreviewArray.clear();
|
||||
|
||||
ChooseLevelAssetQuery.clear();
|
||||
|
|
|
|||
Loading…
Reference in a new issue