Merge pull request #2049 from ivandrofly/toogle_tag

[Tagging] - Fix/Update
This commit is contained in:
Nikolaj Olsson 2016-11-04 10:16:25 +01:00 committed by GitHub
commit 2705ab248b

View File

@ -6353,17 +6353,17 @@ namespace Nikse.SubtitleEdit.Forms
private void BoldToolStripMenuItemClick(object sender, EventArgs e)
{
ListViewToggleTag("b");
ListViewToggleTag(HtmlUtil.TagBold);
}
private void ItalicToolStripMenuItemClick(object sender, EventArgs e)
{
ListViewToggleTag("i");
ListViewToggleTag(HtmlUtil.TagItalic);
}
private void UnderlineToolStripMenuItemClick(object sender, EventArgs e)
{
ListViewToggleTag("u");
ListViewToggleTag(HtmlUtil.TagUnderline);
}
private void ListViewToggleTag(string tag)