mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
fixed some types not saving automatically
This commit is contained in:
parent
8b65bc4173
commit
43baf8f171
@ -830,6 +830,8 @@ class CharacterCustomizationShared
|
||||
{
|
||||
Image icon1 = Util.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png");
|
||||
IconImage.Image = icon1;
|
||||
|
||||
SaveOutfit(false);
|
||||
}
|
||||
|
||||
public void LoadRemoteIcon()
|
||||
@ -868,6 +870,8 @@ class CharacterCustomizationShared
|
||||
IconImage.Image = icon1;
|
||||
Util.LogExceptions(ex);
|
||||
}
|
||||
|
||||
SaveOutfit(false);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
@ -786,6 +786,7 @@ public partial class CharacterCustomizationCompact : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "BC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button53Click(object sender, EventArgs e)
|
||||
@ -793,6 +794,7 @@ public partial class CharacterCustomizationCompact : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "TBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button54Click(object sender, EventArgs e)
|
||||
@ -800,6 +802,7 @@ public partial class CharacterCustomizationCompact : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "OBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button55Click(object sender, EventArgs e)
|
||||
@ -807,6 +810,7 @@ public partial class CharacterCustomizationCompact : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "NBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
private void button60_Click(object sender, EventArgs e)
|
||||
@ -838,6 +842,7 @@ public partial class CharacterCustomizationCompact : Form
|
||||
void TextBox1TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.UserCustomization.CharacterID = textBox1.Text;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
@ -792,6 +792,7 @@ public partial class CharacterCustomizationExtended : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "BC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button53Click(object sender, EventArgs e)
|
||||
@ -799,6 +800,7 @@ public partial class CharacterCustomizationExtended : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "TBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button54Click(object sender, EventArgs e)
|
||||
@ -806,6 +808,7 @@ public partial class CharacterCustomizationExtended : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "OBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
void Button55Click(object sender, EventArgs e)
|
||||
@ -813,6 +816,7 @@ public partial class CharacterCustomizationExtended : Form
|
||||
IconURLBox.Text = "";
|
||||
GlobalVars.UserCustomization.Icon = "NBC";
|
||||
label5.Text = GlobalVars.UserCustomization.Icon;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
private void button60_Click(object sender, EventArgs e)
|
||||
@ -906,6 +910,7 @@ public partial class CharacterCustomizationExtended : Form
|
||||
void TextBox1TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.UserCustomization.CharacterID = textBox1.Text;
|
||||
characterCustomizationForm.SaveOutfit(false);
|
||||
}
|
||||
|
||||
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user