From d8725a99566703f6625ffc895986eed25a95eb95 Mon Sep 17 00:00:00 2001 From: Bitl Date: Fri, 10 Jul 2020 15:23:14 -0700 Subject: [PATCH] minor QOL fix --- .../Compact/CharacterCustomizationCompact.cs | 9 ++++++--- .../Extended/CharacterCustomizationExtended.cs | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Novetus/NovetusLauncher/Forms/CharacterCustomization/Compact/CharacterCustomizationCompact.cs b/Novetus/NovetusLauncher/Forms/CharacterCustomization/Compact/CharacterCustomizationCompact.cs index 05c647c..ee0dba0 100644 --- a/Novetus/NovetusLauncher/Forms/CharacterCustomization/Compact/CharacterCustomizationCompact.cs +++ b/Novetus/NovetusLauncher/Forms/CharacterCustomization/Compact/CharacterCustomizationCompact.cs @@ -1353,9 +1353,10 @@ namespace NovetusLauncher private void ShirtsIDBox_TextChanged(object sender, EventArgs e) { + listBox6.SelectedItem = "NoShirt.rbxm"; + if (!string.IsNullOrWhiteSpace(ShirtsIDBox.Text)) { - listBox6.SelectedItem = "NoShirt.rbxm"; GlobalVars.UserCustomization.Shirt = Custom_Shirt_URL + ShirtsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.Shirt, @@ -1372,9 +1373,10 @@ namespace NovetusLauncher private void TShirtsIDBox_TextChanged(object sender, EventArgs e) { + listBox5.SelectedItem = "NoTShirt.rbxm"; + if (!string.IsNullOrWhiteSpace(TShirtsIDBox.Text)) { - listBox5.SelectedItem = "NoTShirt.rbxm"; GlobalVars.UserCustomization.TShirt = Custom_T_Shirt_URL + TShirtsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.TShirt, @@ -1391,9 +1393,10 @@ namespace NovetusLauncher private void PantsIDBox_TextChanged(object sender, EventArgs e) { + listBox7.SelectedItem = "NoPants.rbxm"; + if (!string.IsNullOrWhiteSpace(PantsIDBox.Text)) { - listBox7.SelectedItem = "NoPants.rbxm"; GlobalVars.UserCustomization.Pants = Custom_Pants_URL + PantsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.Pants, diff --git a/Novetus/NovetusLauncher/Forms/CharacterCustomization/Extended/CharacterCustomizationExtended.cs b/Novetus/NovetusLauncher/Forms/CharacterCustomization/Extended/CharacterCustomizationExtended.cs index 1ebc9eb..1ca9cd1 100644 --- a/Novetus/NovetusLauncher/Forms/CharacterCustomization/Extended/CharacterCustomizationExtended.cs +++ b/Novetus/NovetusLauncher/Forms/CharacterCustomization/Extended/CharacterCustomizationExtended.cs @@ -1357,9 +1357,10 @@ namespace NovetusLauncher private void ShirtsIDBox_TextChanged(object sender, EventArgs e) { + listBox6.SelectedItem = "NoShirt.rbxm"; + if (!string.IsNullOrWhiteSpace(ShirtsIDBox.Text)) { - listBox6.SelectedItem = "NoShirt.rbxm"; GlobalVars.UserCustomization.Shirt = Custom_Shirt_URL + ShirtsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.Shirt, @@ -1376,9 +1377,10 @@ namespace NovetusLauncher private void TShirtsIDBox_TextChanged(object sender, EventArgs e) { + listBox5.SelectedItem = "NoTShirt.rbxm"; + if (!string.IsNullOrWhiteSpace(TShirtsIDBox.Text)) { - listBox5.SelectedItem = "NoTShirt.rbxm"; GlobalVars.UserCustomization.TShirt = Custom_T_Shirt_URL + TShirtsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.TShirt, @@ -1395,9 +1397,10 @@ namespace NovetusLauncher private void PantsIDBox_TextChanged(object sender, EventArgs e) { + listBox7.SelectedItem = "NoPants.rbxm"; + if (!string.IsNullOrWhiteSpace(PantsIDBox.Text)) { - listBox7.SelectedItem = "NoPants.rbxm"; GlobalVars.UserCustomization.Pants = Custom_Pants_URL + PantsIDBox.Text; CustomizationFuncs.ChangeItem( GlobalVars.UserCustomization.Pants,