work on adminpanel & submodule update

This commit is contained in:
Paul
2022-01-04 21:12:34 +01:00
parent 4fdedc880d
commit 11510927d6
5 changed files with 40 additions and 19 deletions

View File

@@ -25,16 +25,13 @@ namespace Content.Client.Administration.UI.CustomControls
_adminSystem = EntitySystem.Get<AdminSystem>();
IoCManager.InjectDependencies(this);
RobustXamlLoader.Load(this);
}
protected override void EnteredTree()
{
// Fill the Option data
PopulateList();
PlayerItemList.OnItemSelected += PlayerItemListOnOnItemSelected;
PlayerItemList.OnItemDeselected += PlayerItemListOnOnItemDeselected;
FilterLineEdit.OnTextChanged += FilterLineEditOnOnTextEntered;
_adminSystem.PlayerListChanged += PopulateList;
}
private void FilterLineEditOnOnTextEntered(LineEdit.LineEditEventArgs obj)