private void btnApply_Click(object sender, EventArgs e) { loading = true; int index = cboChar.SelectedIndex; TextCharNames.SetName(index, txtChar.Text); charnames[index] = TextCharNames.GetName(index); cboChar.Items[index] = ""; cboChar.Items[index] = "[" + index.ToString("X3") + "] " + charnames[index]; loading = true; M3Rom.IsModified = true; cboChar_SelectedIndexChanged(null, null); }