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