diff --git a/src/TSMapEditor/UI/Windows/SelectStringWindow.cs b/src/TSMapEditor/UI/Windows/SelectStringWindow.cs index 9825395a..7bd49178 100644 --- a/src/TSMapEditor/UI/Windows/SelectStringWindow.cs +++ b/src/TSMapEditor/UI/Windows/SelectStringWindow.cs @@ -31,6 +31,7 @@ protected override void LbObjectList_SelectedIndexChanged(object sender, EventAr if (lbObjectList.SelectedItem == null) { SelectedObject = null; + panelContent.Text = string.Empty; return; } @@ -43,8 +44,6 @@ protected override void ListObjects() lbObjectList.Clear(); panelContent.Text = string.Empty; - lbObjectList.AddItem(new XNAListBoxItem() { Text = "None" }); - foreach (CsfString csf in map.StringTable.GetStringEnumerator()) { string preview;